Compiler Error C2927

'function' : a template function must be called with at least one argument

An attempt was made to call a template function without any arguments. When a template function is called, the type of the argument determines which version of the function is actually generated; without an argument, no function can be generated.