
25 Apr
2006
25 Apr
'06
7:13 a.m.
What happened to dynamic_any btw? Greetings Franz ----- Original Message ----- From: "Alexander Nasonov" <alnsn@yandex.ru> To: <boost@lists.boost.org> 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