Skip to content

Commit 63f5e08

Browse files
A constructor (template) is a member function (template).
1 parent 4f0779d commit 63f5e08

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@
13211321
Remove deprecated type traits.
13221322
\rationale
13231323
The traits had unreliable or awkward interfaces. The \tcode{is_literal_type}
1324-
trait provided no way to detect which subset of constructors and member
1324+
trait provided no way to detect which subset of member
13251325
functions of a type were declared \keyword{constexpr}. The \tcode{result_of}
13261326
trait had a surprising syntax that did not directly support function types.
13271327
It has been superseded by the \tcode{invoke_result} trait.

source/containers.tex

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,7 @@
598598
allocator argument, then the allocator type must support value-initialization.
599599
\end{note}
600600
A copy of this allocator is used for any memory allocation and element construction
601-
performed, by these constructors and by all member functions,
602-
during the lifetime of each container object
601+
performed, by all member functions, during the lifetime of each container object
603602
or until the allocator is replaced. The allocator may be replaced only via assignment or
604603
\tcode{swap()}. Allocator replacement is performed by
605604
copy assignment, move assignment, or swapping of the allocator only if
@@ -15160,7 +15159,7 @@
1516015159
containers of different sizes is undefined.
1516115160

1516215161
\pnum
15163-
The effect of calling a constructor or member function
15162+
The effect of calling a member function
1516415163
that takes a \tcode{sorted_unique_t} argument with
1516515164
a container, containers, or range
1516615165
that is not sorted with respect to \tcode{key_comp()}, or
@@ -16351,7 +16350,7 @@
1635116350
with containers of different sizes is undefined.
1635216351

1635316352
\pnum
16354-
The effect of calling a constructor or member function
16353+
The effect of calling a member function
1635516354
that takes a \tcode{sorted_equivalent_t} argument
1635616355
with a container, containers, or range
1635716356
that are not sorted with respect to \tcode{key_comp()} is undefined.
@@ -16939,7 +16938,7 @@
1693916938
as \tcode{KeyContainer::value_type}.
1694016939

1694116940
\pnum
16942-
The effect of calling a constructor or member function
16941+
The effect of calling a member function
1694316942
that takes a \tcode{sorted_unique_t} argument
1694416943
with a range that is not sorted with respect to \tcode{key_comp()}, or
1694516944
that contains equal elements, is undefined.
@@ -17603,7 +17602,7 @@
1760317602
as \tcode{KeyContainer::value_type}.
1760417603

1760517604
\pnum
17606-
The effect of calling a constructor or member function
17605+
The effect of calling a member function
1760717606
that takes a \tcode{sorted_equivalent_t} argument with a range
1760817607
that is not sorted with respect to \tcode{key_comp()} is undefined.
1760917608

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4989,7 +4989,7 @@
49894989
\end{itemize}
49904990
\begin{note}
49914991
Aggregate initialization does not allow accessing
4992-
protected and private base class' members or constructors.
4992+
protected and private base class' members, including constructors.
49934993
\end{note}
49944994

49954995
\pnum

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@
783783
\end{codeblock}
784784

785785
\pnum
786-
Constructors and member functions of \tcode{pair} do not throw exceptions unless one of
786+
Member functions of \tcode{pair} do not throw exceptions unless one of
787787
the element-wise operations specified to be called for that operation
788788
throws an exception.
789789

0 commit comments

Comments
 (0)