Boost logo

Boost :

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.
>>> Comments?
>> Looks like I broke it in .
> 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, gregod at, cpdaniel at, john at