boost::variant -- this code compiles fine -- I think it should not compile

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; }
5738
Age (days ago)
5738
Last active (days ago)
1 comments
2 participants
participants (2)
-
Peter Foelsche
-
Steven Watanabe