From e7e9f7cf634891dcdad1e34c85cf72d1c3b88532 Mon Sep 17 00:00:00 2001 From: Mauro Russo Date: Wed, 27 Nov 2024 22:27:54 +0100 Subject: [PATCH] Immediate understanding of non-type templ. param. Signed-off-by: Mauro Russo --- source/declarations.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/declarations.tex b/source/declarations.tex index b3122d3db8..6133392f6a 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -1773,7 +1773,7 @@ The type of a \grammarterm{parameter-declaration} of a function declaration\iref{dcl.fct}, \grammarterm{lambda-expression}\iref{expr.prim.lambda}, or -\grammarterm{template-parameter}\iref{temp.param} +non-type \grammarterm{template-parameter}\iref{temp.param} can be declared using a \grammarterm{placeholder-type-specifier} of the form \opt{\grammarterm{type-constraint}} \keyword{auto}. @@ -1789,7 +1789,7 @@ of the function declaration, \grammarterm{lambda-expression}, or -\grammarterm{template-parameter}, respectively. +non-type \grammarterm{template-parameter}, respectively. \begin{note} Having a generic parameter type placeholder signifies that the function is