Skip to content

Commit e738bcc

Browse files
committed
Remove "Capping" note, closes #2236
1 parent 8557755 commit e738bcc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CppCoreGuidelines.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8031,11 +8031,6 @@ This rule is about using `final` on classes with virtual functions meant to be i
80318031

80328032
##### Note
80338033

8034-
Capping an individual virtual function with `final` is error-prone as `final` can easily be overlooked when defining/overriding a set of functions.
8035-
Fortunately, the compiler catches such mistakes: You cannot re-declare/re-open a `final` member in a derived class.
8036-
8037-
##### Note
8038-
80398034
Claims of performance improvements from `final` should be substantiated.
80408035
Too often, such claims are based on conjecture or experience with other languages.
80418036

0 commit comments

Comments
 (0)