Alexander Nasonov wrote:
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(x)
Boost.dynamic_any has extract functi
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(x)
>>
>> Boost.dynamic_any has extract functi
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(x)
Boost.dynamic_any has extract functinos which work this way.
But this patch adds that function
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(x);
>
> because any_cast tries to instanciate a pointer to int&. The attached
> patch solved this problem using boo