Created on 2013-01-09.00:00:00 last changed 21 months ago
Additional notes (February, 2023)
Template specializations do not have linkage.
The Standard does not appear to specify the linkage of a template specialization. 13.9.2 [temp.inst] paragraph 11 does say,
Implicitly instantiated class and function template specializations are placed in the namespace where the template is defined.
which could be read as implying that the specialization has the same linkage as the template itself. Implementation practice seems to be that the weakst linkage of the template and the arguments is used for the specialization.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-02-12 18:18:03 | admin | set | messages: + msg7201 |
2023-02-12 18:18:03 | admin | set | status: open -> review |
2013-01-09 00:00:00 | admin | create |