Edit

Share via


Compiler Error C2068

illegal use of overloaded function. Missing argument list?

Remarks

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

Example

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.