Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2003-08-09 15:20:29


"David Abrahams" <dave_at_[hidden]> wrote in message
news:uvft780gk.fsf_at_boost-consulting.com...
> [...]
> BTW, normally, you might:
>
> struct Policy
> {
> template <class P>
> struct apply
> {
> typename some_other_class type;
> };
> };
> [...]

Ok, now I see what's going on. Create a metafunction class
wrapper for the actual policy in the way you would create a functor
for a normal function. It also makes sense why you might have
called it a metafunctor. It's all starting to make sense. ;) This is
also much less intrusive than what I was doing.

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk