|
Boost : |
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-02-02 07:55:05
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk