Created on2013-04-12.00:00:00 last changed134 months ago
[Moved to DR at the September, 2013 meeting.]
Proposed resolution (April, 2013):
Whenthread_local is applied to a variable of block scopethestorage-class-specifierstatic is implied ifitdoes not appear explicitlyno otherstorage-class-specifier appears in thedecl-specifier-seq.
According to 9.2.2 [dcl.stc] paragraph 4,
Whenthread_local is applied to a variable of blockscope thestorage-class-specifierstatic isimplied if it does not appear explicitly.
This, presumably unintentionally, prohibits a declaration like
void f() { extern thread_local int n; }
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-11-24 00:00:00 | admin | set | status: drwp -> c++14 |
| 2014-03-03 00:00:00 | admin | set | status: dr -> drwp |
| 2013-10-14 00:00:00 | admin | set | messages: +msg4683 |
| 2013-10-14 00:00:00 | admin | set | status: ready -> dr |
| 2013-05-03 00:00:00 | admin | set | messages: +msg4310 |
| 2013-04-12 00:00:00 | admin | create | |