
13 Mar
2006
13 Mar
'06
6:44 a.m.
Doug Gregor
We can't overload dynamic_cast, which is too bad: that's the right name for this sort of thing.
Maybe; I'm not so sure. xxx_cast implies capability that you probably wouldn't get from variant, like the ability to tell if some base class of the currently-stored type were available. -- Dave Abrahams Boost Consulting www.boost-consulting.com