Title
Deferred instantiation and checking of non-static data member initializers
Status
review
Section
13.9.2 [temp.inst]
Submitter
Jason Merrill

Created on 2011-09-22.00:00:00 last changed 2 weeks ago

Messages

Date: 2022-11-20.07:54:16

CWG 2022-11-11

Resolved by issue 2631.

Date: 2013-03-15.00:00:00

Additional note (March, 2013):

Determining whether a defaulted constructor is constexpr or not requires parsing the class's non-static data member initializers; see also issue 1360.

Date: 2012-10-15.00:00:00

Notes from the October, 2012 meeting:

CWG agreed that non-static data member initializers should be handled like default arguments.

Date: 2011-09-22.00:00:00

Non-static data member initializers get the same late parsing as member functions and default arguments, but are they also instantiated as needed like them? And when is their validity checked?

History
Date User Action Args
2022-11-20 07:54:16adminsetmessages: + msg7031
2022-11-20 07:54:16adminsetstatus: open -> review
2022-02-18 07:47:23adminsetstatus: drafting -> open
2013-03-18 00:00:00adminsetmessages: + msg4259
2012-11-03 00:00:00adminsetmessages: + msg4110
2012-11-03 00:00:00adminsetstatus: open -> drafting
2011-09-22 00:00:00admincreate