Edit

Share via


Compiler Error C2068

illegal use of overloaded function. Missing argument list?

The compiler detected the invalid use of an overloaded function with no arguments.

For example:

void f(int x) {}
void f(char x) {}
void g() noexcept( noexcept(f) );

To resolve this issue, include the argument types required to resolve the function overload.