Boost logo

Boost Users :

From: David Kantowitz (david.kantowitz_at_[hidden])
Date: 2007-04-12 12:12:16


Wolfgang, áÌÅËÓÁÎÄÒ,

Thank-you. That fixed my problem.

Best Regards,
David K.

On 4/11/07, Wolfgang Baer <w.baer_at_[hidden]> wrote:
> Hi David,
>
> David Kantowitz wrote:
> > I'm having a bit of trouble using boost.serialization with a std::map.
> > It seems like there is something simple I'm not doing correctly. I'm
> > hoping someone can point me in the right direction.
> [...]
> >
> > #include <map>
> > #include <fstream>
> > #include "boost/serialization/map.hpp"
> > #include "boost/archive/xml_oarchive.hpp"
> >
> [...]
> >
> > This is the error:
> >
> > ...boost-win32-1_33_1\include\boost\archive\detail\oserializer.hpp(131)
> > : error C2027: use of undefined type
> > 'boost::serialization::extended_type_info_null<T>'
> > with
> > [
> > T=std::map<int,int>
> > ]
>
> This error indicated header ordering problems in my use cases.
> Try moving the two serialization headers to the top.
>
> Best regards,
> Wolfgang
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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