Boost logo

Boost Users :

From: Nigel Rantor (wiggly_at_[hidden])
Date: 2005-11-11 09:09:16


Peter Dimov wrote:
> Nigel Rantor wrote:
>
>
>>My understanding of uninitialised variables is that their *values*
>>were undefined, that you could not rely on them to be any particular
>>value, including not being within range for that type.
>
>
> No, this is only true for "unsigned char". Accessing the value of an
> uninitialized object of any other type is undefined behavior, which means
> that you can - and in some cases will - get a hardware trap.

Okay, cool.

Kind of off-topic. Is there any particular reference you guys would
recommend for the C++ standard instead of me being led astray by
Bjarne's TCPPPL?

Regards,

   n


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