|
Boost : |
From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2004-02-05 14:08:03
Is there a way to get back a variant's type list?
void f() {
typedef mpl::vector<int,double> type_list;
typedef make_variant_over<type_list>::type variant_type;
BOOST_STATIC_ASSERT(is_same<type_list, variant_type::???>::value);
}
Thanks!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk