$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Igor R. (igor_rubinov_at_[hidden])
Date: 2008-05-06 09:05:08
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!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us