Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-27 12:47:06


Howard Hinnant wrote:

> 2. Uninitialized is better because it is much faster, especially if
> you have containers of such elements. You can always explicitly
> initialize if you want.

Technically... you can't put an uninitialized (non-character) scalar in a
container; copying an uninitialized scalar is undefined behavior.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk