Created on 2014-02-14.00:00:00 last changed 126 months ago
Rationale (June, 2014):
This restriction is the same for static and simply requires that the braced form of linkage-specification be used.
According to 9.11 [dcl.link] paragraph 7,
A declaration directly contained in a linkage-specification is treated as if it contains the extern specifier (9.2.2 [dcl.stc]) for the purpose of determining the linkage of the declared name and whether it is a definition. Such a declaration shall not specify a storage class.
This prohibits a declaration like
extern "C++" thread_local int n;
Should this be changed?
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-07-07 00:00:00 | admin | set | messages: + msg5113 |
2014-07-07 00:00:00 | admin | set | status: open -> nad |
2014-02-14 00:00:00 | admin | create |