Skip to content

Commit dba295a

Browse files
committed
Fix term: template parameter -> argument.
1 parent 0fafb43 commit dba295a

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

source/utilities.tex

+14-10
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@
442442
\notes If this function is odr-used~(\ref{basic.def.odr}), the program is ill-formed.
443443

444444
\pnum
445-
\notes The template parameter \tcode{T} of \tcode{declval} may be an incomplete type.
445+
\notes In an instantiation of \tcode{declval}, an incomplete type may be
446+
used as the template argument for the template parameter \tcode{T}.
446447

447448
\enterexample
448449
\begin{codeblock}
@@ -6100,7 +6101,8 @@
61006101
of a unique pointer. In partial satisfaction of these semantics, each such \tcode{U}
61016102
is \tcode{MoveConstructible} and \tcode{MoveAssignable}, but is not
61026103
\tcode{CopyConstructible} nor \tcode{CopyAssignable}.
6103-
The template parameter \tcode{T} of \tcode{unique_ptr} may be an incomplete type.
6104+
In an instantiation of \tcode{unique_ptr}, an incomplete type may be
6105+
used as the template argument for the template parameter \tcode{T}.
61046106

61056107
\pnum
61066108
\enternote The uses
@@ -6173,8 +6175,8 @@
61736175
for the class template \tcode{unique_ptr}.
61746176

61756177
\pnum
6176-
The template parameter \tcode{T} of \tcode{default_delete} may be
6177-
an incomplete type.
6178+
In an instantiation of \tcode{default_delete}, an incomplete type may be
6179+
used as the template argument for the template parameter \tcode{T}.
61786180

61796181
\rSec4[unique.ptr.dltr.dflt]{\tcode{default_delete}}
61806182

@@ -7389,8 +7391,9 @@
73897391
\tcode{CopyAssignable}, and \tcode{LessThanComparable}, allowing their use in standard
73907392
containers. Specializations of \tcode{shared_ptr} shall be
73917393
contextually convertible to \tcode{bool},
7392-
allowing their use in boolean expressions and declarations in conditions. The template
7393-
parameter \tcode{T} of \tcode{shared_ptr} may be an incomplete type.
7394+
allowing their use in boolean expressions and declarations in conditions.
7395+
In an instantiation of \tcode{shared_ptr}, an incomplete type may be
7396+
used as the template argument for the template parameter \tcode{T}.
73947397

73957398
\pnum
73967399
\enterexample
@@ -8159,8 +8162,9 @@
81598162
\pnum
81608163
Specializations of \tcode{weak_ptr} shall be \tcode{CopyConstructible} and
81618164
\tcode{CopyAssignable}, allowing their use in standard
8162-
containers. The template parameter \tcode{T} of \tcode{weak_ptr} may be an
8163-
incomplete type.
8165+
containers.
8166+
In an instantiation of \tcode{weak_ptr}, an incomplete type may be
8167+
used as the template argument for the template parameter \tcode{T}.
81648168

81658169
\rSec4[util.smartptr.weak.const]{\tcode{weak_ptr} constructors}
81668170

@@ -8437,8 +8441,8 @@
84378441
\end{codeblock}
84388442

84398443
\pnum
8440-
The template parameter \tcode{T} of \tcode{enable_shared_from_this}
8441-
may be an incomplete type.
8444+
In an instantiation of \tcode{enable_shared_from_this}, an incomplete type
8445+
may be used as the template argument for the template parameter \tcode{T}.
84428446

84438447
\indexlibrary{\idxcode{enable_shared_from_this}!constructor}%
84448448
\begin{itemdecl}

0 commit comments

Comments
 (0)