On Fri, Jul 31, 2020 at 10:54:46AM +0100, Jonathan Wakely wrote: > > Does the standard require that somewhere? Because that is not what the > > compiler implements right now. > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78620
Ah, ok. But does that imply that all CONSTRUCTORs without CONSTRUCTOR_NO_CLEARING need to be treated that way? I mean, aren't such CONSTRUCTORs used also for other initializations? And, are the default copy constructors or assignment operators supposed to also copy the padding bits, or do they become unspecified again through that? Jakub