Export (0) Print
Expand All
Expand Minimize

Compiler Error C2564

Error Message

'type' : a function-style conversion to a built-in type can only take one argument

Function-style type casts of built-in types take a single argument.

The following sample generates C2564:

// C2564.cpp
void g(float f, double d) {
   int j = int(f, d);   // C2564

Community Additions

© 2014 Microsoft