|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-05-27 17:30:25
"Eric Niebler" <eric_at_[hidden]> writes:
> Why is that confusing? That's how most other types in C++ behave:
>
> int a,b; // a and b are undefined
> a = b; // a and b are still undefined
^^^^^
This is undefined behavior, actually.
> b = 1; // a is undefined, b is 1
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk