Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2ed4f92

Browse filesBrowse files
committed
[class.dtor] Change redundant wording into note
1 parent 4a6f2e3 commit 2ed4f92
Copy full SHA for 2ed4f92

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎source/classes.tex

Copy file name to clipboardExpand all lines: source/classes.tex
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,9 +2098,10 @@
20982098
A prospective destructor can be
20992099
declared \keyword{virtual}\iref{class.virtual}
21002100
and with a \grammarterm{pure-specifier}\iref{class.abstract}.
2101-
If the destructor of a class is virtual and
2102-
any objects of that class or any derived class are created in the program,
2103-
the destructor shall be defined.
2101+
\begin{note}
2102+
Since a pure virtual destructor will be invoked by the destructor of
2103+
a derived class, it must still be defined in most cases; see~\ref{basic.def.odr}.
2104+
\end{note}
21042105

21052106
\pnum
21062107
\begin{note}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.