[ub] type punning through congruent base class?

Herb Sutter hsutter at microsoft.com
Thu Jan 16 20:50:26 CET 2014


> Well, as far as I understand, trivial constructors might not be called at all.

Maybe "might not be called" is part of the bug then. Isn't the right model that trivial ctors are called, but "might do nothing"?

Herb




More information about the ub mailing list