
19 Aug
2010
19 Aug
'10
11:34 a.m.
I think something was broken in Boost 1.44. This code fails to compile with 1.44, but compiles with 1.43 (MSVC 10.0): #include <boost/variant.hpp> #include <boost/serialization/variant.hpp> #include <boost/archive/binary_iarchive.hpp> #include <sstream> int main() { std::stringstream s; boost::archive::binary_iarchive ar(s); boost::variant<int, char> x; ar >> x; return 0; } e:\libraries\boost\boost\serialization\variant.hpp(139): error C3861: 'BOOST_SERIALIZATION_NVP': identifier not found Am I missing something or is it a bug?