From 88658415139441d3235ccefbadfaef1202d08116 Mon Sep 17 00:00:00 2001 From: Vincent X <77327828+ckwastra@users.noreply.github.com> Date: Fri, 12 Sep 2025 00:11:28 +0800 Subject: [PATCH] [temp.explicit] Fix the comment in Example 2 --- source/templates.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/templates.tex b/source/templates.tex index 9ef3133aef..a39ebc064c 100644 --- a/source/templates.tex +++ b/source/templates.tex @@ -7016,7 +7016,7 @@ template int *var; // error: instantiated variable has type \tcode{int} template auto av = T(); -template int av; // OK, variable with type \tcode{int} can be redeclared with type \keyword{auto} +template int av; // OK, variable with type \tcode{auto} can be redeclared with type \keyword{int} template auto f() {} template void f(); // error: function with deduced return type