Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9177: Improved serialization of floating point values
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-28 12:08:33
#9177: Improved serialization of floating point values
--------------------------------------+---------------------------
Reporter: johnmaddock | Owner: ramey
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: serialization
Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+---------------------------
Comment (by johnmaddock):
As mentioned above: their fine, especially if you use
numeric_limits<>::max_digits10 rather than digits10+2 when
BOOST_NO_CXX11_NUMERIC_LIMITS is not defined. Note that since we're
talking about class types here, none of this code will be triggered by
default, it requires the user to mark the type as fundamental (using your
traits classes). I guess using a bit more introspection we could probably
figure out if a type has a serialize member or not, and if not then
forward to the operator<< code... but that may be too clever, or not?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9177#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:14 UTC