Title
thread_local constexpr variable
Status
nad
Section
9.2.6 [dcl.constexpr]
Submitter
John Spicer

Created on 2013-09-05.00:00:00 last changed 131 months ago

Messages

Date: 2014-01-15.00:00:00

Rationale (January, 2014):

Such an object could have mutable subobjects. The constexpr specifier guarantees static initialization.

Date: 2022-11-20.07:54:16

Neither 9.2.6 [dcl.constexpr] nor 9.2.2 [dcl.stc] forbids combining the thread_local and constexpr specifiers in the declaration of a variable. Should this combination be permitted?

History
Date User Action Args
2014-01-20 00:00:00adminsetmessages: + msg4792
2014-01-20 00:00:00adminsetstatus: open -> nad
2013-09-05 00:00:00admincreate