Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-11-18 20:28:48


"Robert Ramey" <ramey_at_[hidden]> writes:

> Paul Giaccone wrote:
>
>> However, this is not what I am requesting. What I am asking for is a
>> note in the documentation on the page headed "Serialization - Archive
>> Exceptions" under "stream_error" that says something along the lines
>> of "This exception can also occur when reading an archive to which
>> uninitialized data has been written. I/O of uninitialized data is
>> undefined."
>
> Oh - OK - that's easy. Consider it done !

Please, don't use an exception for this purpose, and if for some
reason you feel you *must*, please don't document it as such.

My posts in
http://groups.google.com/group/comp.lang.c++.moderated/browse_frm/thread/80083ac31a1188da
describe some of the rationale.

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