|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-08-30 19:35:48
On Friday, August 2, 2002, at 03:24 PM, Fernando Cacciola wrote:
> I had held formal submission of the optional<> class waiting for a
> definitive solution to the 'stack-aligned storage' problem, because
> optional<> doesn't default contructs its object when it is
> uninitialized,
> but for this it requires a properly-aligned uninitialized raw storage as
> part of itself (to avoid a heap allocation).
> Now we do have aligned storage, but I haven't resumed the submission
> setup
> (even though I have incorporated it in my own optional<> code which I
> use
> daily), mainly since it wasn't clear when I first drop the idea here if
> it
> raised sufficient interest.
> Now that you bring this up, I think I might brush it up and make a
> formal
> submission.
Please, do! We've just encountered yet another use case for it..
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk