From 1be4801ac1f90aca9a8f5804a48e8bcd082f5bb9 Mon Sep 17 00:00:00 2001 From: lprv <100177227+lprv@users.noreply.github.com> Date: Thu, 1 Jun 2023 20:57:05 +0200 Subject: [PATCH] [lib] Refer to exposition-only function templates as templates, not functions (#6265) * [tuple.apply]/1, /4 * [expected.object.assign]/1 * [iterator.cust.swap]/2 * [specialized.algorithms.general]/3 --- source/algorithms.tex | 3 ++- source/iterators.tex | 2 +- source/utilities.tex | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/source/algorithms.tex b/source/algorithms.tex index ed1d8d1cf0..b6a4acd763 100644 --- a/source/algorithms.tex +++ b/source/algorithms.tex @@ -10768,7 +10768,8 @@ before allowing the exception to propagate. \pnum -Some algorithms specified in \ref{specialized.algorithms} make use of the exposition-only function +Some algorithms specified in \ref{specialized.algorithms} +make use of the exposition-only function template \tcode{\placeholdernc{voidify}}: \begin{codeblock} template diff --git a/source/iterators.tex b/source/iterators.tex index d4f5e240ae..0a3eb7dd14 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -1170,7 +1170,7 @@ arguments. \pnum -Let \exposid{iter-exchange-move} be the exposition-only function: +Let \exposid{iter-exchange-move} be the exposition-only function template: \begin{itemdecl} template constexpr iter_value_t @\exposid{iter-exchange-move}@(X&& x, Y&& y) diff --git a/source/utilities.tex b/source/utilities.tex index 1b40eb3974..cc7b733d65 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -2639,7 +2639,7 @@ \begin{itemdescr} \pnum \effects -Given the exposition-only function: +Given the exposition-only function template: \begin{codeblock} namespace std { template @@ -2681,7 +2681,7 @@ \pnum \effects -Given the exposition-only function: +Given the exposition-only function template: \begin{codeblock} namespace std { template @@ -7735,7 +7735,7 @@ \rSec3[expected.object.assign]{Assignment} \pnum -This subclause makes use of the following exposition-only function: +This subclause makes use of the following exposition-only function template: \begin{codeblock} template constexpr void @\exposid{reinit-expected}@(T& newval, U& oldval, Args&&... args) { // \expos