File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2264
2264
\tcode {virtual}\iref {class.virtual }
2265
2265
or pure
2266
2266
\tcode {virtual}\iref {class.abstract }.
2267
+ \begin {note }
2267
2268
If the destructor of a class is virtual and
2268
2269
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 }
2272
2276
2273
2277
\pnum
2274
2278
\begin {note }
You can’t perform that action at this time.
0 commit comments