Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2912: implementation of std::bitset serialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-26 16:59:38
#2912: implementation of std::bitset serialization
--------------------------------------+-------------------------------------
Reporter: kfriddile_at_[hidden] | Owner: ramey
Type: Patches | Status: closed
Milestone: To Be Determined | Component: serialization
Version: Boost Development Trunk | Severity: Not Applicable
Resolution: fixed | Keywords:
--------------------------------------+-------------------------------------
Changes (by ramey):
* status: assigned => closed
* resolution: => fixed
Comment:
I've made changes and it seems to test well here and I will shortly upload
to the trunk. I only made the minimal changes required to make it work
"everywhere". In looking at it though, I have a couple of observations.
Someone is going to complain that it's not very efficient when storing to
binary files. Perhaps you want to consider specializations for size < 8,
size < 16, size < 32 so that it's stored in an unsigned integer. Downside
is that this would require going into MPL which requires more effort.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2912#comment:4> 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:00 UTC