Boost logo

Boost :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2005-05-18 01:35:01


Jaakko Järvi wrote:
> make_variant_over<Seq>::type
>
> creates a variant type from an MPL Sequence.
>
> Is there an operation that would do the opposite, create an MPL
> sequence from a variant?

http://tinyurl.com/b3nkf, under Notes:

"The bounded types of the variant are exposed via the nested typedef
 types, which is an MPL-compatible Sequence containing the set of types
 that must be handled by any visitor to the variant."

-- 
Daniel Wallin

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