
25 Feb
2005
25 Feb
'05
10:18 p.m.
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