[variant] recursive_variant_ broken with VC++ 2005 SP1

6 Jul
2007
6 Jul
'07
11:44 a.m.
Hello, Using 1.34.0 and 1.34.1 RC, this used to work with 2005 but with SP1 it is now broken: boost::make_recursive_variant< int, std::pair<int, boost::recursive_variant_>
::type foo;
It now gives the error: utility(54) : error C2079: 'std::pair<_Ty1,_Ty2>::second' uses undefined struct 'boost::recursive_variant_' with [ _Ty1=int, _Ty2=boost::recursive_variant_ ] I was able to fix this by #defining BOOST_VARIANT_NO_FULL_RECURSIVE_VARIANT_SUPPORT before including variant.hpp. - Cory
6558
Age (days ago)
6558
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cory Nelson