$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-02-25 17:18:46
Hi Frantz,
Why do you store heap-allocated pointers in any? Why not just store
objects? Like this:
boost::any b = B(); // not "new B" !
any then
A& base = extract<A&>(b); // not yet in boost
This feature has been implemented in dynamic_any but it's not yet
accepted.
For more information, refer to http://cpp-experiment.sf.net
-- Alexander Nasonov