Boost logo

Boost :

From: Jorge Lodos (lodos_at_[hidden])
Date: 2006-04-25 08:41:32


 Alexander Nasonov wrote:

> 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);
>
I stand corrected. Thanks.

Cheers
Jorge


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