W8045 No declaration for function 'function' (C++)
(Command-line option to display warning: -wnod)
This message is given if you call a function without first declaring that function.
In C, you can declare a function without presenting a prototype, as in
In C++, every function declaration is also a prototype; this example is equivalent to
The declaration can be either classic or modern (prototype) style.