The inline Directive
Can be used to indicate that the function can be expanded inline at a point of call, exactly as if the method had been written in a class description.
If the method body is sufficiently short, it can be marked as inline.
Virtual methods should not be declared as inline, as compiler is not able to produce inline code even if requested by the user.