Subject: Re: [boost] [any] Divergence between Boost.Any and standard library proposal
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-05-04 15:09:25
2013/5/4 Beman Dawes <bdawes_at_[hidden]>:
> On Fri, May 3, 2013 at 12:30 PM, Antony Polukhin <antoshkka_at_[hidden]> wrote:
>> 2013/5/3 Beman Dawes <bdawes_at_[hidden]>:
>>> AFAICS, the Adobe (and the proposed standard) behavior is preferred.
>>> The type does need to decay.
>> Looks like I broke it in https://svn.boost.org/trac/boost/ticket/6999 .
> Should I create a new ticket:-)
Fixed in trunk.
BTW, draft tells nothing about any_cast<type&&>(instance_of_any).
Current Boost version will return rvalue if `instance_of_any` is not
const and fail to compile other way.
-- Best regards, Antony Polukhin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk