From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-03-15 06:00:23
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Paul Giaccone
| Sent: 15 March 2006 10:46
| To: boost_at_[hidden]
| Subject: Re: [boost] [serialization]
| Serialisation/deserialisation offloating-point values
| The problem is clearly with the *de*serialisation.
| Tracing back through the functions, this seems to be the function (in
| basic_text_iprimitive.hpp) that reads doubles from XML files:
| void load(T & t)
| is >> t;
| This suggests that it is a broken feature of Microsoft's
| operator>> for doubles read from filestreams.
I agree with you and suggest some simple tests as my previous mail to
But perhaps stringstreams are different from filestreams?
My recollection is that MS VC8 worked correctly both double and float for
But do check.
-- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB Phone and SMS text +44 1539 561830, Mobile and SMS text +44 7714 330204 mailto: pbristow_at_[hidden] http://www.hetp.u-net.com/index.html http://www.hetp.u-net.com/Paul%20A%20Bristow%20info.html
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk