From: Unai Uribarri Rodríguez (unaiur_at_[hidden])
Date: 2003-01-16 15:30:36


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.