Title
Implicit definition of static data member of const literal type
Status
nad
Section
11.4.9.3 [class.static.data]
Submitter
Nikolay Ivchenkov

Created on 2011-03-18.00:00:00 last changed 117 months ago

Messages

Date: 2015-04-13.00:00:00

Additional note, April, 2015:

EWG has decided not to make a change in this area. See EWG issue 100.

Date: 2011-08-15.00:00:00

Rationale (August, 2011):

This is a request for an extension.

Date: 2022-11-20.07:54:16

The Standard requires that a const static data member that is initialized in the class definition must still be defined in namespace scope if it is odr-used. This seems unnecessary.

History
Date User Action Args
2015-04-13 00:00:00adminsetmessages: + msg5432
2015-04-13 00:00:00adminsetstatus: extension -> nad
2012-09-24 00:00:00adminsetmessages: + msg4037
2011-03-18 00:00:00admincreate