Boost logo

Boost Users :

From: kauai (kauai_diver_at_[hidden])
Date: 2005-04-19 17:38:43


Thank you, actually was a newbie mistake.

Forgot to include:

#include <boost/serialization/vector.hpp>

--- Jeff Flinn <TriumphSprint2000_at_[hidden]> wrote:
>
> "kauai" <kauai_diver_at_[hidden]> wrote in message
>
news:20050419013506.49781.qmail_at_web60707.mail.yahoo.com...
> > Hi all,
> >
> > I am having problems serializing a vector.
> >
> > When I have code like this:
> >
> > ar & m_attrVec; // in my serialize function
> >
> > I get this error:
> >
> > xyz.cpp:213: no match for
> > `boost::archive::text_iarchive& <<
> > std::vector<Attribute*, std::allocator<Attribute*>
> >&'
> > operator
> >
> > Am I missing something,
>
> Have you read
>
http://www.boost.org/libs/serialization/doc/index.html.
>
> The error is most likely related to your Attribute
> pointer, and not so much
> with the vector itself.
>
> Jeff Flinn
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

                
__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide


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