Hi1.42.0, sorry earlier was mentioning wrong version 1.37.0)
When I add a bool into the variant, the get int version fails (VC2008 SP1, boost
typedef boost::variant <bool, int, string> VariantType;
VariantType variant;
variant = "hello world";
string stringTest = boost::get <string> (variant);
cout << stringTest.c_str () << endl;
variant = 5;
int intTest = boost::get <int> (variant); // Fails
cout << intTest << endl;