|
Boost : |
Subject: Re: [boost] [optional] std::tr2::optional
From: Nevin Liber (nevin_at_[hidden])
Date: 2011-11-18 20:29:43
On 18 November 2011 15:16, Andrzej Krzemienski <akrzemi1_at_[hidden]> wrote:
> 3. T is neither copyable nor moveable -- it is like a scope guard, or
> boost::scoped_ptr. In this case optional<T> still provides assignment by
> making a "pseudo destructor call" followed by a call to placement new. --
> but this gives only basic guarantee.
The guarantee is strong if the placement delete/new are marked
noexcept, isn't it?
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk