Boost logo

Boost :

From: Dr. Franz Fehringer (fehrin_at_[hidden])
Date: 2006-04-25 03:13:03


What happened to dynamic_any btw?

Greetings

Franz

----- Original Message -----
From: "Alexander Nasonov" <alnsn_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, April 25, 2006 7:13 AM
Subject: Re: [boost] boost::any operations

> Jorge Lodos wrote:
>>
>> Sure, but it returns a copy of the holded object. The described operator
>> returns a reference to the holded object.
> No, it returns a reference to held object.
>
> any a(0);
> int& i = any_cast<int&>(a);
>
> --
> Alexander Nasonov
> Project Manager
> http://www.akmosoft.com
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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