
24 Sep
2009
24 Sep
'09
10:41 p.m.
#include <boost/variant.hpp> struct test { }; int main(int argc, char **argv) { boost::variant<std::string, int, double> s; boost::get<test>(s); return 0; }