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-08 12:57:39


On Tue, Jan 8, 2013 at 7:48 PM, Peter Dimov <lists_at_[hidden]> wrote:
> Paul Smith wrote:
>>
>> But trying to compare two recursive variants that hold the same
>> recusrive_wrapper type is UB if one them is null.
>
>
> You can make it work though, can't you? Null values just need to compare
> less than any other.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost

Sure. My point was that "destructible and assignable" are not always
enough as far as the library goes.

--
Paul Smith

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