Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-11-17 19:02:33


Paul Giaccone <paulg_at_[hidden]> writes:

> Daryle, you seem to be missing the point... Kevin and I have long since
> fixed this bug and have no interest in serialising uninitialised
> variables. All that is required is a note in the docs under "stream
> error" saying that one thing that can cause this exception is an
> uninitialised variable

That should be an assertion.

> which allows the user to go and fix the problem
> quickly. No user in their right mind would want to serialise
> uninitialised variables (leaving aside quiet NaNs).

A quiet NaN is no more likely to be the result of an uninitialised
float or double than is a float or double with any other legal value.
Uninitialised floating types are normally full of random garbage just
like anything else.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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