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 0446929

Browse filesBrowse files
committed
[class.dtor] Change redundant wording into note
1 parent ea10e25 commit 0446929
Copy full SHA for 0446929

File tree

1 file changed

+7
-3
lines changed
Filter options

1 file changed

+7
-3
lines changed

‎source/classes.tex

Copy file name to clipboardExpand all lines: source/classes.tex
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,11 +2264,15 @@
22642264
\tcode{virtual}\iref{class.virtual}
22652265
or pure
22662266
\tcode{virtual}\iref{class.abstract}.
2267+
\begin{note}
22672268
If the destructor of a class is virtual and
22682269
any objects of that class or any derived class are created in the program,
2269-
the destructor shall be defined.
2270-
If a class has a base class with a virtual destructor, its destructor
2271-
(whether user- or implicitly-declared) is virtual.
2270+
the destructor shall be defined; see~\ref{basic.def.odr}.
2271+
\end{note}
2272+
\begin{note}
2273+
If a class has a base class with a virtual destructor, its destructor
2274+
(whether user- or implicitly-declared) is virtual\iref{class.virtual}.
2275+
\end{note}
22722276

22732277
\pnum
22742278
\begin{note}

0 commit comments

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