Final (C++)

is a keyword in the C++ programming language. It limits the ways in which a class can be subclassed. Subclasses of a class are prevented from overriding methods marked as  by the parent class. Final classes cannot be inherited. This allows devirtualization, the removal of the use of vtables for method lookup, thus allowing the inlining of method calls on final classes.

is not a reserved word in C++, and is instead defined as a contextual keyword, in order to not conflict with uses of the identifier 'final' in existing codebases.