
Thank you, actually was a newbie mistake. Forgot to include: #include <boost/serialization/vector.hpp> --- Jeff Flinn <TriumphSprint2000@hotmail.com> wrote:
"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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
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