This documentation is archived and is not being maintained.

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: