Skip to content

Commit a9f901a

Browse files
committed
[class.dtor] "The defaulted destructor" -> "A defaulted destructor",
since the destructor for a class might not be defaulted.
1 parent 174edca commit a9f901a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/classes.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,7 +2240,7 @@
22402240
\defnx{non-trivial}{destructor!non-trivial}.
22412241

22422242
\pnum
2243-
The defaulted destructor is a constexpr destructor
2243+
A defaulted destructor is a constexpr destructor
22442244
if it satisfies the requirements for a constexpr destructor\iref{dcl.constexpr}.
22452245
\begin{note}
22462246
In particular, a trivial destructor is a constexpr destructor.
@@ -2255,7 +2255,7 @@
22552255
or when it is explicitly defaulted after its first declaration.
22562256

22572257
\pnum
2258-
Before the
2258+
Before a
22592259
defaulted destructor for a class is implicitly defined, all the non-user-provided
22602260
destructors for its base classes and its non-static data members shall have been
22612261
implicitly defined.

0 commit comments

Comments
 (0)