Compiler Error C2548

'identifier1::identifier2' : missing default parameter for parameter identifier3

A parameter was missing in a default parameter list.

If a default parameter is supplied anywhere in a parameter list, then all subsequent parameters on the right side of the default parameter must also be defined.

The following is an example of this error:

void func( int = 1, int, int = 3);  // error
void func( int, int, int = 3);      // OK
void func( int, int = 2, int = 3);  // OK