Comment Comment by mainland The first "correct" solution will leak memory if the call to TSuperFoo::operator= throws an exception. parent mainland 11 years ago