Boost Users :
Subject: Re: [Boost-users] boost_serialization ok with vector<int> but not with vector<int *>
From: Robert Ramey (ramey_at_[hidden])
Date: 2015-03-06 19:42:10
Tony Camuso wrote
> Why is the compiler okay with ...
> ... but throws an error for ...
> <int *>
The answer can be found here:
I concede that this should be added to the documentation. Feel free to
open a trac item to remind me of this.
So the solution is to wrap your int inside a class. This will give it a
unique type and distinguish from all the other int instances you don't
really want to track. Also you can use BOOST_SERIALIZATION to create a
-- View this message in context: http://boost.2283326.n4.nabble.com/Flood-of-messages-when-building-with-boost-serialization-tp4672684p4672804.html Sent from the Boost - Users mailing list archive at Nabble.com.
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