
23 Oct
2007
23 Oct
'07
7:53 p.m.
Mathias Gaunard wrote: C++0x has virtual constructors?
No - but exceptions (only) will get a special built-in clone mechanism (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html) std::copy_exception will do the same thing that a clone member function would do. The exception library could implement copy_exception (in part) by searching a table of registered types for a match.