|
Boost : |
Subject: Re: [boost] [variant] Basic rvalue and C++11 features support
From: Paul Smith (pl.smith.mail_at_[hidden])
Date: 2013-01-09 10:03:38
On Tue, Jan 8, 2013 at 8:48 PM, Peter Dimov <lists_at_[hidden]> wrote:
> Paul Smith wrote:
>>
>> The only way to make everyone happy is to guarantee that a moved-from
>> recursive variant is a valid variant.
>
>
> Well, the performance hit from `new T` is making a lot of people unhappy, so
> technically, this is not true. :-)
Unfortunately, that's probably not the worst thing about it. The fact
that it can also throw is the one that has the more subtle and far
reaching consequences.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
-- Paul Smith
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk