C++ Logo

SG12

Advanced search

Subject: Re: [ub] type punning through congruent base class?
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2014-01-16 14:00:50


| -----Original Message-----
| From: ub-bounces_at_[hidden] [mailto:ub-bounces_at_[hidden]] On
| Behalf Of Herb Sutter
| Sent: Thursday, January 16, 2014 11:50 AM
| To: WG21 UB study group
| Subject: Re: [ub] type punning through congruent base class?
|
| > 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"?

Yes, agreed.

-- Gaby


SG12 list run by herb.sutter at gmail.com