Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-04-25 01:13:19

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at