Title
Wording of behavior of generated copy constructor for scalar members
Status
nad
Section
11.4.5.3 [class.copy.ctor]
Submitter
Steve Clamage

Created on 2002-05-25.00:00:00 last changed 268 months ago

Messages

Date: 2002-10-15.00:00:00

Notes from October 2002 meeting:

The Core Working Group believes this should not be changed. The standard already mentions built-in operators and the assignment operator does clearly define what must be done for scalar types. There is currently no concept of built-in initialization.

Date: 2022-02-18.07:47:23

Section 11.4.5.3 [class.copy.ctor] paragraph 8 says the compiler-generated copy constructor copies scalar elements via the built-in assignment operator. Seems inconsistent. Why not the built-in initialization?

History
Date User Action Args
2002-11-08 00:00:00adminsetmessages: + msg786
2002-11-08 00:00:00adminsetstatus: open -> nad
2002-05-25 00:00:00admincreate