Export (0) Print
Expand All
Expand Minimize

Compiler Error C2092

'array name' array element type cannot be function

Arrays of functions are not allowed. Use an array of pointers to functions. The following code example generates C2092.

// C2092.cpp
typedef void (F) ();   // C2092
typedef F AT[10];      // Error

int main()
{
}
Show:
© 2014 Microsoft