
5 Feb
2004
5 Feb
'04
7:20 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Brock Peabody
Never mind, I found it.
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); ^^^ types
(Except that this is actually false because types == vector2<int,double>).