
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, or do I have to use a different method to serialize vectors? Thanks for any help, Kauai __________________________________ Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over 17,000 guides! http://travel.yahoo.com/p-travelguide

"kauai" <kauai_diver@yahoo.com> wrote in message news:20050419013506.49781.qmail@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
participants (2)
-
Jeff Flinn
-
kauai