Boost logo

Boost :

Subject: Re: [boost] [variant] Basic rvalue and C++11 features support
From: Paul Smith (pl.smith.mail_at_[hidden])
Date: 2013-01-11 12:41:40


On Fri, Jan 11, 2013 at 7:19 PM, Paul Smith <pl.smith.mail_at_[hidden]> wrote:
> On Fri, Jan 11, 2013 at 7:15 PM, Paul Smith <pl.smith.mail_at_[hidden]> wrote:
>> On a similar note, we should probably use a nothrow default
>> constructible type when move constructing a variant for any type with
>> a throwing move-ctor, not just recursive_wrapper.
>
> Ignore that, it's nonsense.

FWIW, it becomes meaningful again if we provide an extension point for
client types of variant to perform a destructive move. Now
recursive_wrapper really does become just a special case.

--
Paul Smith

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