Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-06-03 11:37:16


Aaron W. LaFramboise wrote:
> Does Boost have some sort of uninitialized storage container?

...

> A TR1 array<T, sizeof(T)> almost works, except for these points:
> (1) It doesn't provide proper alignment guarantees.
> (2) It doesn't call the destructor when it is destroyed.
>
> So, does Boost have any such thing?

I think that optional<T> fits your description.


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