Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] XML: float format is scientific instead of human-readable since Boost 1.57
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2015-01-29 08:03:47


On 29-01-2015 11:30, Paul A. Bristow wrote:
>
>
>> -----Original Message-----
>> From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Frank Stähr

>> Yes, I read about "round tripping" in some mail archives, thanks for clarification.
>> In my opinion it would be more sensible to use the format options from the ofstream. This would suit
>> much more elegant to the std … but anyway, I am not familiar with round tripping …
>
> As long as you don't mind the risk (small but not zero) that some values in your archive will be slightly different after de-serialization.
>
> I'd worry about that personally. Most would assume that it won't happen?

Yes, we really don't want to loose information. It's so hard to track
down errors originating from these kind of silent changes.

-Thorsten


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