Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6261: Missing uuid_io.hpp in uuid_serialize.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-17 02:20:50
#6261: Missing uuid_io.hpp in uuid_serialize.hpp
----------------------------------------------------+-----------------------
Reporter: Filippov Aleksey <sarum9in@â¦> | Owner: atompkins
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uuid
Version: Boost 1.48.0 | Severity: Not Applicable
Resolution: | Keywords:
----------------------------------------------------+-----------------------
Comment (by atompkins):
Hmm, I understand what you are saying. Normally the serialization library
would use specific functions written for a class. I do not believe that
uuid_io.hpp is needed when using a binary archive.[[BR]]
I wanted to make uuid a primitive, i.e. BOOST_CLASS_IMPLEMENTATION(uuid,
boost::serialization::primitive_type) (see
http://www.boost.org/doc/libs/1_48_0/libs/serialization/doc/index.html).
I now wonder if this may have been a bad decision. Or maybe I should have
done it via boost::serialization::is_bitwise_serializable.
My goal was to use only 16 bytes when serializing to a binary archive.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6261#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC