Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-21 15:21:55


From: "Herve Bronnimann" <hbr_at_[hidden]>
>
> template <class U> struct rebind { typedef identity<U> other; };

This "rebind" thing has a very different meaning from "apply<>" in my post.
apply<> was there as a way to make identity behave as a metafunction class;
see the MPL paper for more details.

-Dave


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