
2 Feb
2006
2 Feb
'06
12:55 p.m.
Spencer Collyer wrote:
I'll need to study the code you presented a bit more to understand it. The way I saw it working was that, if the user had some pre-existing policy class they wanted to use, they could wrap it up in another class that inherited from the base class, and just forwarded all operations on. Given I like to keep interfaces to policy classes small, this didn't seem too much of an overhead to me.
Well, if you have an external metafunction, you only need to specialize it. No need to write a wrapper. That's the main reason I suggested the metafunction. Sebastian Redl