Paul Giaccone
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