6 May
2008
6 May
'08
1:05 p.m.
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_recursivempl::_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 = getMyVariantType::FirstBoundedType(&v); Thank you! _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us