Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refer to library exposition-only function templates as templates #6265

Merged
merged 1 commit into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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<class T>
Expand Down
2 changes: 1 addition & 1 deletion source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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<class X, class Y>
constexpr iter_value_t<X> @\exposid{iter-exchange-move}@(X&& x, Y&& y)
Expand Down
6 changes: 3 additions & 3 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2639,7 +2639,7 @@
\begin{itemdescr}
\pnum
\effects
Given the exposition-only function:
Given the exposition-only function template:
\begin{codeblock}
namespace std {
template<class F, @\exposconcept{tuple-like}@ Tuple, size_t... I>
Expand Down Expand Up @@ -2681,7 +2681,7 @@

\pnum
\effects
Given the exposition-only function:
Given the exposition-only function template:
\begin{codeblock}
namespace std {
template<class T, @\exposconcept{tuple-like}@ Tuple, size_t... I>
Expand Down Expand Up @@ -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<class T, class U, class... Args>
constexpr void @\exposid{reinit-expected}@(T& newval, U& oldval, Args&&... args) { // \expos
Expand Down