Hi all,
 
How can I get the first "bounded type" of a variant? I see there's a public typedef there:
 
    typedef typename mpl::transform<
          recursive_enabled_types
        , unwrap_recursive<mpl::_1>
        >::type types;

but I don't realize how I can "extract" the type from here.
I need something like this:
 
MyVariantType v;
MyVariantType::FirstBoundedType *value = get<MyVariantType::FirstBoundedType>(&v);
 
 
Thank you!


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!