You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Richard Smith pointed out that there are more issues in this area (surprise!).
Specifically, having a thread local inside of a template will require initialization of all thread local storage across all translation units that happen to instantiate that template.
It's not clear that we should to do anything editorially here, nor that this is worth forwarding as a core issue. (For reference, we assume this refers to [basic.start.init]p2.)
The order (and frequency) of construction is implicit, but the current wording is very terse and deserves at least a note to clarify the intent.
There may also be a CWG issue about when the arguments to such a constructor call are evaluated.
The text was updated successfully, but these errors were encountered: