Skip to content

Commit c4e5437

Browse files
[dcl.constexpr], [dcl.init.aggr] A constructor is a member function
1 parent d81264a commit c4e5437

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
@@ -906,7 +906,7 @@
906906
declares that function to be
907907
a \defnx{constexpr function}{specifier!\idxcode{constexpr}!function}.
908908
\begin{note}
909-
A function or constructor declared with the \keyword{consteval} specifier
909+
A function declared with the \keyword{consteval} specifier
910910
is an immediate function\iref{expr.const}.
911911
\end{note}
912912
A destructor, an allocation function, or a deallocation function
@@ -5372,7 +5372,7 @@
53725372
\end{itemize}
53735373
\begin{note}
53745374
Aggregate initialization does not allow accessing
5375-
protected and private base class' members or constructors.
5375+
protected and private base class' members, including constructors.
53765376
\end{note}
53775377

53785378
\pnum

0 commit comments

Comments
 (0)