The function specifiers inline and virtual are used only in function declarations.
The function specifier inline is used to make a suggestion to the compiler to incorporate the code of a function into the code at the point of the call.
The function specifier virtual can only be used in nonstatic
member function declarations.
C++ Inline Functions
Virtual Functions