Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2005-04-19 07:40:43


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