Export (0) Print
Expand All
Expand Minimize

Compiler Error C2064

term does not evaluate to a function taking 'number' arguments

A call is made to a function through an expression. The expression does not evaluate to a function pointer.

The following sample generates C2064:

// C2064.cpp
int i, j;
char* p;
void func()
{
   j = i();    // C2064, i is not a function
   p();        // C2064, p doesn't point to a function
}
Show:
© 2015 Microsoft