Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
C++ Specific —>
virtualmember-function-declarator
virtual [access-specifier] base-class-name
The virtual keyword declares a virtual function or a virtual base class.
The elements of a virtual declaration are as follows:
member-function-declarator
Declares a member function.
access-specifier
Defines the level of access to the base class. Can appear before or after the virtual keyword.
base-class-name
Identifies a previously declared class type.
See Virtual Function, Pure Virtual Functions and Abstract Classes, and Virtual Base Class for more information. Also see class, private, public, and protected.
END C++ Specific