Title
Trivial non-public copy operators in subobjects
Status
c++11
Section
11.4.5.3 [class.copy.ctor]
Submitter
FI

Created on 2010-08-03.00:00:00 last changed 130 months ago

Messages

Date: 2011-03-15.00:00:00

[Voted into the WP at the March, 2011 meeting.]

Date: 2010-11-15.00:00:00

Proposed resolution (November, 2010):

This issue is resolved by the resolution of issue 1135.

Date: 2010-08-15.00:00:00

Rationale (August, 2010):

The consensus of the CWG was that this change should not be made at this point in the standardization process, but that it might be considered at a later date.

Date: 2022-11-20.07:54:16
N3092 comment FIĀ 5

A class with a non-public explicitly-defaulted copy constructor isn't ever trivially copyable under the current rules. If such a class is used as a subobject, the copy constructor of the aggregating class should be trivial if it can access the non-public explicitly defaulted copy constructor of a subobject.

See also issue 1145.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetmessages: + msg3371
2011-04-10 00:00:00adminsetstatus: ready -> fdis
2010-11-29 00:00:00adminsetmessages: + msg3061
2010-11-29 00:00:00adminsetstatus: extension -> ready
2010-08-23 00:00:00adminsetmessages: + msg2967
2010-08-03 00:00:00admincreate