|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-03-04 18:08:45
Someone wanted to be able to put a derived class into a boost::any and
use any_cast to get a base class pointer out. Enclosed is a patch to
do it, FWIW.
Disclaimer: I have no opinion on whether this should be done or not.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk