This documentation is archived and is not being maintained.

Compiler Error C2564

'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