[boost-users][serialization]
Hello, I've just started to use serialization in my project. When I try to save some struct into archive: boost::archive::xml_oarchive archive = ....; archive << BOOST_SERIALIZATION_NVP(descriptor_); ...the following error occures (boost 1.36.0, MSVC9.0SP): boost/serialization/level.hpp(54) : error C2039: 'basic_traits' : is not a member of 'boost::serialization::boost::serialization' What does it mean in terms of my code, i.e. where should I look for an error? Thank you.
Solved.
BOOST_SERIALIZATION_SPLIT_FREE was used in my code inside
boost::serialization namespace, while it should be used outside of
the namespaces.
2009/1/18 Igor R
Hello,
I've just started to use serialization in my project. When I try to save some struct into archive:
boost::archive::xml_oarchive archive = ....; archive << BOOST_SERIALIZATION_NVP(descriptor_); ...the following error occures (boost 1.36.0, MSVC9.0SP):
boost/serialization/level.hpp(54) : error C2039: 'basic_traits' : is not a member of 'boost::serialization::boost::serialization'
What does it mean in terms of my code, i.e. where should I look for an error?
Thank you.
participants (1)
-
Igor R