Full threadmainland·The first "correct" solution will leak memory if the call to TSuperFoo::operator= throws an exception.View on HN