mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
@@ -7091,9 +7091,9 @@ Consistent use of `override` would catch this.
|
||||
|
||||
##### Note
|
||||
|
||||
Note every class is meant to be a base class.
|
||||
Not every class is meant to be a base class.
|
||||
Most standard-library classes are examples of that (e.g., `std::vector` and `std::string` are not designed to be derived from).
|
||||
This rule are about using `final` on classes with virtual functions meant to be interfaces for a class hierarchy.
|
||||
This rule is about using `final` on classes with virtual functions meant to be interfaces for a class hierarchy.
|
||||
|
||||
##### Note
|
||||
|
||||
|
||||
Reference in New Issue
Block a user