Skip to content

Commit 1be4801

Browse files
authored
[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
1 parent 4fac9f9 commit 1be4801

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

source/algorithms.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10768,7 +10768,8 @@
1076810768
before allowing the exception to propagate.
1076910769

1077010770
\pnum
10771-
Some algorithms specified in \ref{specialized.algorithms} make use of the exposition-only function
10771+
Some algorithms specified in \ref{specialized.algorithms}
10772+
make use of the exposition-only function template
1077210773
\tcode{\placeholdernc{voidify}}:
1077310774
\begin{codeblock}
1077410775
template<class T>

source/iterators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@
11701170
arguments.
11711171

11721172
\pnum
1173-
Let \exposid{iter-exchange-move} be the exposition-only function:
1173+
Let \exposid{iter-exchange-move} be the exposition-only function template:
11741174
\begin{itemdecl}
11751175
template<class X, class Y>
11761176
constexpr iter_value_t<X> @\exposid{iter-exchange-move}@(X&& x, Y&& y)

source/utilities.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@
26392639
\begin{itemdescr}
26402640
\pnum
26412641
\effects
2642-
Given the exposition-only function:
2642+
Given the exposition-only function template:
26432643
\begin{codeblock}
26442644
namespace std {
26452645
template<class F, @\exposconcept{tuple-like}@ Tuple, size_t... I>
@@ -2681,7 +2681,7 @@
26812681

26822682
\pnum
26832683
\effects
2684-
Given the exposition-only function:
2684+
Given the exposition-only function template:
26852685
\begin{codeblock}
26862686
namespace std {
26872687
template<class T, @\exposconcept{tuple-like}@ Tuple, size_t... I>
@@ -7735,7 +7735,7 @@
77357735
\rSec3[expected.object.assign]{Assignment}
77367736

77377737
\pnum
7738-
This subclause makes use of the following exposition-only function:
7738+
This subclause makes use of the following exposition-only function template:
77397739
\begin{codeblock}
77407740
template<class T, class U, class... Args>
77417741
constexpr void @\exposid{reinit-expected}@(T& newval, U& oldval, Args&&... args) { // \expos

0 commit comments

Comments
 (0)