Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-12-02 19:42:12


No.

But a structure could contain data which is serialized
with a binary_object. This would amount to the same
thing in most applications.

Robert Ramey

Youhei Murakami wrote:
> Hello everyone. I found a description pasted below in
> boost/serialization/binary_object.hpp.
> Does this description means that binary-objects can't track ?
>
> [ in binary_object.hpp ]
> // don't track binary objects - usually they will be created on the
> stack // and tracking algorithm (which uses the object address) might
> get // confused. note that these address will likely be members of
> some // other structure which itself is tracked, so as a practical
> matter // suppressing tracking shouldn't cause any redundancy.
>
> BOOST_CLASS_TRACKING(binary_object, boost::serialization::track_never)
>
> #endif // BOOST_SERIALIZATION_BINARY_OBJECT_HPP


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