Boost logo

Boost :

Subject: [boost] [mpl] Metafunction to extract type
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-01-27 13:21:40


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
       {
       };


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