|
Boost Users : |
Subject: Re: [Boost-users] boost serialization stream error question
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-01-31 12:34:26
> The problem is caused by double values less than DBL_MIN.
> Apparently, streaming such values in causes the input stream fail_bit
> to be set, which causes the serialization lib to throw an exception.
The standard stream library writes out NaN values as text, but cannot read
them.
It shows up in various places besides the serialization library - e.g.
lexical_cast.
Work has been done on this. I believe that there is code in vault which
deals with this.
Robert Ramey
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