From 7fc4e31705991d93007af17062e93e486f55f706 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 28 Mar 2023 21:04:20 +0200 Subject: [PATCH] [dcl.decl.general] Fix cross-references "templated function" is defined in [temp.pre], but avoid having two cross-references to the same place in the same paragraph by dropping the cross-reference for the definition of the grammar non-terminal "requires-clause". --- source/declarations.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/declarations.tex b/source/declarations.tex index e2e6054442..0b07338299 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -2165,10 +2165,10 @@ \end{note} \pnum -The optional \grammarterm{requires-clause}\iref{temp.pre} in an +The optional \grammarterm{requires-clause} in an \grammarterm{init-declarator} or \grammarterm{member-declarator} shall be present only if the declarator declares a -templated function\iref{dcl.fct}. +templated function\iref{temp.pre}. % \indextext{trailing requires-clause@trailing \gterm{requires-clause}|see{\gterm{requires-clause}, trailing}}% When present after a declarator, the \grammarterm{requires-clause}