From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2004-12-08 16:26:08
Mikhail Glushenkov wrote:
> I proposed enhancing any_cast by adding support
> for extracting reference to the held value some
> time ago(and it was proposed in the past),
That was probably me.
> but nobody
> replied to that message. Looks like Boost.Any
> maintainer's on the vacation.
> Basic idea was to make this work
> (now you have to use some obscure syntax):
> T& object = any_cast<T&>(any_object);
I would like to see exactly the same semantics as for boost::get in the
variant library: http://tinyurl.com/43nks
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk