Skip to content

Commit a52a7aa

Browse files
committed
Replace 'prototype' with 'declaration'
1 parent 0fb3c13 commit a52a7aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

source/lib-intro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@
456456

457457
\begin{itemize}
458458
\item name and brief description
459-
\item synopsis (class definition or function prototype, as appropriate)
459+
\item synopsis (class definition or function declaration, as appropriate)
460460
\item restrictions on template arguments, if any
461461
\item description of class invariants
462462
\item description of function semantics
@@ -1095,7 +1095,7 @@
10951095

10961096
\pnum
10971097
Names that are defined as functions in C shall be defined as functions in the
1098-
\Cpp standard library.\footnote{ This disallows the practice, allowed in C, of
1098+
\Cpp standard library.\footnote{This disallows the practice, allowed in C, of
10991099
providing a masking macro in addition to the function prototype. The only way to
11001100
achieve equivalent inline behavior in \Cpp is to provide a definition as an
11011101
extern inline function.}

source/regex.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@
12111211
classification represented by \tcode{f}.
12121212

12131213
\pnum
1214-
\returns Given the following function prototype:
1214+
\returns Given the following function declaration:
12151215
\begin{codeblock}
12161216
// for exposition only
12171217
template<class C>

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9692,7 +9692,7 @@
96929692
\exitexample
96939693

96949694
\pnum
9695-
Given the following function prototype:
9695+
Given the following function declaration:
96969696
\begin{codeblock}
96979697
template <class T>
96989698
add_rvalue_reference_t<T> create() noexcept;
@@ -9849,7 +9849,7 @@
98499849
\exitexample
98509850

98519851
\pnum
9852-
Given the following function prototype:
9852+
Given the following function declaration:
98539853

98549854
\begin{codeblock}
98559855
template <class T>

0 commit comments

Comments
 (0)