Skip to content

Commit 3bf6ac5

Browse files
authored
[class.prop] Clarify definition of implicit-lifetime class (#5319)
1 parent 736c755 commit 3bf6ac5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source/classes.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,14 @@
302302
\end{note}
303303

304304
\pnum
305-
A class \tcode{S} is an \defnadj{implicit-lifetime}{class}
306-
if it is an aggregate or
307-
has at least one trivial eligible constructor and
305+
A class \tcode{S} is an \defnadj{implicit-lifetime}{class} if
306+
\begin{itemize}
307+
\item
308+
it is an aggregate or
309+
\item
310+
it has at least one trivial eligible constructor and
308311
a trivial, non-deleted destructor.
312+
\end{itemize}
309313

310314
\rSec1[class.name]{Class names}
311315
\indextext{definition!class name as type}%

0 commit comments

Comments
 (0)