Title
Assignment vs initialization
Status
tc1
Section
11.9.3 [class.base.init]
Submitter
Mike Miller

Created on 2000-09-16.00:00:00 last changed 34 months ago

Messages

Date: 2000-10-15.00:00:00

Proposed resolution (10/00): As suggested.

Date: 2022-02-18.07:47:23

Suggested resolution: Change "initialized" to "given a value."

Date: 2022-11-20.07:54:16

In 11.9.3 [class.base.init] paragraph 4 we read:

After the call to a constructor for class X has completed, if a member of X is neither specified in the constructor's mem-initializers, nor default-initialized, nor initialized during execution of the body of the constructor, the member has indeterminate value.

Using the term "initialized" to describe setting the value of a member inside the body of a constructor is a misuse of the term: only by use of a placement new expression can a member be initialized "during the execution of the body of the constructor."

Suggested resolution: Change "initialized" to "given a value."

Proposed resolution (10/00): As suggested.

History
Date User Action Args
2022-02-18 07:47:23adminsetmessages: + msg6657
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-11-18 00:00:00adminsetmessages: + msg447
2000-11-18 00:00:00adminsetstatus: open -> dr
2000-09-16 00:00:00admincreate