Boost logo

Boost :

Subject: Re: [boost] [mpl] Metafunction to extract type
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-01-27 13:24:34


On 27/01/11 19:21, Edward Diener wrote:
> Does MPL already have a metafunction which takes a type, which is a
> nullary metafunction, and returns the nullary metafunction's nested
> type ? As in:
>
> template
> <
> class T
> >
> struct get_type : T
> {
> };
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost

mpl::identity<T>


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