Does it make any difference whether I place the virtual
keyword in a function declaration before or after the return value type?
virtual void DoSome
Both the formats work but the standard specifys the first format.
Reference:
C++03 7.1 Specifiers
The specifiers that can be used in a declaration are
decl-specifier:
storage-class-specifier
type-specifier
function-specifier
friend
typedef
decl-specifier-seq:
decl-specifier-seqopt decl-specifier
And further function-specifier
are explained in,
7.1.2 Function specifiers
Function-specifiers can be used only in function declarations.
function-specifier:
inline
virtual
explicit