Unfortunately not. Same error.
On Mon, Oct 31, 2011 at 11:03 PM, Robert Ramey <ramey@rrsd.com> wrote:
> Jonathan Bishop wrote:
>> // Non-intrusive serialization (pretend I am not able to modify class
>> X) // I was hoping serialization would use this specialization
>>
>> // archive X by id
>> template<class Archive>
>> void save(Archive& ar, constX*& x, unsigned int version) {
>> int id = x->id;
>> ar & id;
>> }
>
> Does adding "const" as above help?
>
> Robert Ramey
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users