Boost logo

Boost :

Subject: [boost] [serializatrion] problems with 1.44
From: Dmitry Vinogradov (sraider_at_[hidden])
Date: 2010-08-19 07:34:07

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;

error C3861: 'BOOST_SERIALIZATION_NVP': identifier not found

Am I missing something or is it a bug?

Boost list run by bdawes at, gregod at, cpdaniel at, john at