$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2007-10-24 23:11:46
If it's a pointer to an object, loading it would mean that one is changing a
"const" A which violates what "const" is supposed to do. It is possible to
do this but would require some casting in the appropriate place.
Robert Ramey
Eric Bourlier wrote:
> Hi,
>
> Is there a way to serialize a shared_ptr to a const object?
>
> For example: ar & shared_ptr<const A> b;
>
> I receive a compile error that prevents the above code from working.
> _______________________________________________
> Unsubscribe & other changes:
> http://listarchives.boost.org/mailman/listinfo.cgi/boost