Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
'function' : typedef cannot be used for function definition
Remarks
A typedef is used to define a function type.
Example
The following example generates C2206:
// C2206.cpp
typedef int functyp();
typedef int MyInt;
functyp func1 {}; // C2206
int main() {
MyInt i = 0; // OK
}