Boost logo

Boost :

From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2003-01-17 08:58:12


Unai Uribarri Rodríguez wrote:

> Alexander Nasonov wrote:
>> Unai Uribarri Rodríguez wrote:
>>
>>>any_cast, as is implemented in boost 1.29, has one weakness; it doesn't
>>>allow to compile this piece of code:
>>>
>>> any x=int(5);
>>> ++any_cast<int&>(x)
>>
>> Boost.dynamic_any has extract functinos which work this way.
>
> But this patch adds that functionality without breaking the interface.

For broken compilers it could break all because remove_reference might not
work for them.

-- 
Alexander Nasonov
Remove -mycop from my e-mail address for timely response

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