Skip to content

Commit 958dcf1

Browse files
[dcl.constexpr], [dcl.init.aggr] A constructor is a member function
1 parent 454ba17 commit 958dcf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@
937937
declares that function to be
938938
a \defnx{constexpr function}{specifier!\idxcode{constexpr}!function}.
939939
\begin{note}
940-
A function or constructor declared with the \keyword{consteval} specifier
940+
A function declared with the \keyword{consteval} specifier
941941
is an immediate function\iref{expr.const}.
942942
\end{note}
943943
A destructor, an allocation function, or a deallocation function
@@ -5491,7 +5491,7 @@
54915491
\end{itemize}
54925492
\begin{note}
54935493
Aggregate initialization does not allow accessing
5494-
protected and private base class' members or constructors.
5494+
protected and private base class' members, including constructors.
54955495
\end{note}
54965496

54975497
\pnum

0 commit comments

Comments
 (0)