Topic: Underterminate values (Was: Avoiding zero-initialization in containers of built-in types)


Author: Valentin Bonnard <Bonnard.V@wanadoo.fr>
Date: 1999/11/17
Raw View
Darin Adler wrote:

> The exact wording of the standard is that such a variable has "indeterminate
> initial value". I can't find any wording elsewhere that indicates that
> copying such an indeterminate value would lead to undefined behavior in a
> broader sense.
>
> Is there wording to this effect?

FWIW, there is quite explicit wording in C99.

--

Valentin Bonnard
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]