Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost-users][serialization]
From: Igor R (boost.lists_at_[hidden])
Date: 2009-01-19 03:47:57


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 <boost.lists_at_[hidden]>

> 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.
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net