
8 Dec
2004
8 Dec
'04
9:26 p.m.
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 Stefan