From 11f3257381ff49062aa235622c2a4f8a957a5c76 Mon Sep 17 00:00:00 2001 From: Daniel Hannon Date: Sun, 14 Jun 2026 21:18:45 +0100 Subject: [PATCH 1/2] P2243R0: Language linkage for templates --- source/templates.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/templates.tex b/source/templates.tex index 369755465d..151db68ab3 100644 --- a/source/templates.tex +++ b/source/templates.tex @@ -76,6 +76,8 @@ \item be an \grammarterm{alias-declaration}. \end{itemize} +It shall not be a \grammarterm{linkage-specification}. + \pnum A \grammarterm{template-declaration} is a \grammarterm{declaration}. A declaration introduced by a template declaration of a @@ -152,8 +154,6 @@ \indextext{template name!linkage of}% A specialization (explicit or implicit) of one template is distinct from all specializations of any other template. -A template, an explicit specialization\iref{temp.expl.spec}, and a -partial specialization shall not have C language linkage. \begin{note} Default arguments for function templates and for member functions of class templates are considered definitions for the purpose of template From 858a0a85bb872ff3f9a34b38ea3aeb0ca507a3c9 Mon Sep 17 00:00:00 2001 From: Daniel Hannon Date: Mon, 15 Jun 2026 20:56:51 +0100 Subject: [PATCH 2/2] fixup: removed newline --- source/templates.tex | 1 - 1 file changed, 1 deletion(-) diff --git a/source/templates.tex b/source/templates.tex index 151db68ab3..67d0909b39 100644 --- a/source/templates.tex +++ b/source/templates.tex @@ -75,7 +75,6 @@ \item be an \grammarterm{alias-declaration}. \end{itemize} - It shall not be a \grammarterm{linkage-specification}. \pnum