Skip to content

Commit 50dfba2

Browse files
committed
Remove unused definitions of terms 'formal argument', 'actual argument', and
'actual parameter'. Unify uses of 'formal parameter' and 'parameter' to all use the vastly more common term 'parameter' and remove the definition of 'formal parameter'.
1 parent 253e03f commit 50dfba2

File tree

9 files changed

+13
-28
lines changed

9 files changed

+13
-28
lines changed

source/declarators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@
16031603

16041604
\pnum
16051605
An identifier can optionally be provided as a parameter name;
1606-
if present in a function definition (\ref{dcl.fct.def}), it names a parameter (sometimes called ``formal argument'').
1606+
if present in a function definition (\ref{dcl.fct.def}), it names a parameter.
16071607
\enternote
16081608
In particular, parameter names are also optional in function definitions
16091609
and names used for a parameter in different declarations and the definition

source/exceptions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
\end{bnf}
5858

5959
The optional \grammarterm{attribute-specifier-seq} in an \grammarterm{exception-declaration}
60-
appertains to the formal parameter of the catch clause~(\ref{except.handle}).
60+
appertains to the parameter of the catch clause~(\ref{except.handle}).
6161

6262
\pnum
6363
\indextext{exception handling!try block}%
@@ -614,7 +614,7 @@
614614

615615
\pnum
616616
A handler is considered active when initialization is complete for
617-
the formal parameter (if any) of the catch clause.
617+
the parameter (if any) of the catch clause.
618618
\enternote
619619
The stack will have been unwound at that point.
620620
\exitnote

source/expressions.tex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,6 @@
13091309
\pnum
13101310
\indextext{function~argument|see{argument}}%
13111311
\indextext{function~parameter|see{parameter}}%
1312-
\indextext{formal~argument|see{parameter}}%
13131312
\indextext{initialization!parameter}%
13141313
When a function is called, each parameter~(\ref{dcl.fct}) shall be
13151314
initialized~(\ref{dcl.init},~\ref{class.copy},~\ref{class.ctor}) with

source/intro.tex

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,30 +119,22 @@
119119
\indexdefn{argument}%
120120
\indexdefn{argument!function call expression}
121121
\definition{argument}{defns.argument}
122-
actual argument\\
123-
actual parameter\\
124122
<function call expression> expression in the comma-separated list bounded by the parentheses
125123

126124
\indexdefn{argument}%
127125
\indexdefn{argument!function-like macro}%
128126
\definition{argument}{defns.argument.macro}
129-
actual argument\\
130-
actual parameter\\
131127
<function-like macro> sequence of preprocessing tokens in the
132128
comma-separated list bounded by the parentheses
133129

134130
\indexdefn{argument}%
135131
\indexdefn{argument!throw expression}%
136132
\definition{argument}{defns.argument.throw}
137-
actual argument\\
138-
actual parameter\\
139133
<throw expression> the operand of \tcode{throw}
140134

141135
\indexdefn{argument}%
142136
\indexdefn{argument!template instantiation}%
143137
\definition{argument}{defns.argument.templ}
144-
actual argument\\
145-
actual parameter\\
146138
<template instantiation>
147139
expression,
148140
\grammarterm{type-id} or \grammarterm{template-name} in the comma-separated
@@ -205,26 +197,20 @@
205197
\indexdefn{parameter!function}%
206198
\indexdefn{parameter!catch clause}%
207199
\definition{parameter}{defns.parameter}
208-
formal argument\\
209-
formal parameter\\
210200
<function or catch clause> object or reference declared as part of a function declaration or
211201
definition or in the catch clause of an exception handler that
212202
acquires a value on entry to the function or handler
213203

214204
\indexdefn{parameter}%
215205
\indexdefn{parameter!function-like macro}%
216206
\definition{parameter}{defns.parameter.macro}
217-
formal argument\\
218-
formal parameter\\
219207
<function-like macro> identifier from
220208
the comma-separated list bounded by the parentheses immediately
221209
following the macro name
222210

223211
\indexdefn{parameter}%
224212
\indexdefn{parameter!template}%
225213
\definition{parameter}{defns.parameter.templ}
226-
formal argument\\
227-
formal parameter\\
228214
<template> \grammarterm{template-parameter}
229215

230216
\indexdefn{signature}%

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
\impldef{behavior of iostream classes when \tcode{traits::pos_type} is not \tcode{streampos} or when \tcode{traits::off_type} is not \tcode{streamoff}}.
9292

9393
\pnum
94-
In the classes of Clause~\ref{input.output}, a template formal parameter with name
94+
In the classes of Clause~\ref{input.output}, a template parameter with name
9595
\tcode{charT} represents a member of the set of types containing \tcode{char}, \tcode{wchar_t},
9696
and any other implementation-defined character types that satisfy the requirements for
9797
a character on which any of the iostream components can be instantiated.

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
requirements there is a table that specifies an initial set of the valid expressions and
436436
their semantics. Any generic algorithm (Clause~\ref{algorithms}) that uses the
437437
well-defined expression requirements is described in terms of the valid expressions for
438-
its formal type parameters.
438+
its template type parameters.
439439

440440
\pnum
441441
Template argument requirements are sometimes referenced by name.

source/locales.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,21 +433,21 @@
433433
argument to these functions.
434434

435435
\pnum
436-
In declarations of facets, a template formal parameter with name
436+
In declarations of facets, a template parameter with name
437437
\tcode{InputIterator}
438438
or
439439
\tcode{OutputIterator}
440440
indicates the set of
441441
all possible specializations on parameters that satisfy the
442442
requirements of an Input Iterator or an Output Iterator, respectively~(\ref{iterator.requirements}).
443-
A template formal parameter with name
443+
A template parameter with name
444444
\tcode{C}
445445
represents the set
446446
of types containing \tcode{char}, \tcode{wchar_t}, and any other implementation-defined
447447
character types that satisfy
448448
the requirements for a character on which any of the iostream
449449
components can be instantiated.
450-
A template formal parameter with name
450+
A template parameter with name
451451
\tcode{International}
452452
represents the set of all possible specializations on a bool parameter.
453453

source/strings.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
that and its related character traits class
6161
\tcode{Traits}
6262
are passed as a pair of parameters to the string or iostream template as
63-
formal parameters
63+
parameters
6464
\tcode{charT}
6565
and
6666
\tcode{traits}.

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3993,7 +3993,7 @@
39933993

39943994
\pnum
39953995
\tcode{raw_storage_iterator} is provided to enable algorithms to store their
3996-
results into uninitialized memory. The formal template parameter
3996+
results into uninitialized memory. The template parameter
39973997
\tcode{OutputIterator} is required to have its \tcode{operator*} return an
39983998
object for which \tcode{operator\&} is defined and returns a pointer to
39993999
\tcode{T}, and is also required to satisfy the requirements of an output
@@ -4120,13 +4120,13 @@
41204120
\rSec2[specialized.algorithms]{Specialized algorithms}
41214121

41224122
\pnum
4123-
All the iterators that are used as formal template parameters in the following
4123+
All the iterators that are used as template parameters in the following
41244124
algorithms are required to have their \tcode{operator*} return an object
41254125
for which \tcode{operator\&} is defined and returns a pointer to \tcode{T}.
4126-
In the algorithm \tcode{uninitialized_copy}, the formal template parameter
4126+
In the algorithm \tcode{uninitialized_copy}, the template parameter
41274127
\tcode{InputIterator} is required to satisfy the requirements of an input
41284128
iterator~(\ref{input.iterators}). In all of the following algorithms,
4129-
the formal template parameter \tcode{ForwardIterator} is required to satisfy the
4129+
the template parameter \tcode{ForwardIterator} is required to satisfy the
41304130
requirements of a forward iterator~(\ref{forward.iterators}),
41314131
and is required to have the property that no exceptions are thrown
41324132
from increment, assignment, comparison, or indirection through valid iterators.

0 commit comments

Comments
 (0)