------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-26 18:16 ------- Here is what is happening currently with GCC: Base ctor... Derived ctor... Base copy ctor... ~Derived called... ~Base called... Base show called... ~Base called...
So you missed the copy constructor, now I don't know if this is correct or not yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28169