Home > Back-end >  Why enumerated types constructor as parameters, instead of an enum type to pass can be omitted.
Why enumerated types constructor as parameters, instead of an enum type to pass can be omitted.

Time:12-06


If the third parameter is the RECT goods omitted (prototype will be the default setting for the RECT), the enumeration parameter is not set the default values in the declaration or definition? In the function sets the default value? there are bosses, explain this?

CodePudding user response:

This is a c + + primer plus the sample inside, other function definitions are not put out a little longer, need to be able to capture,

CodePudding user response:

Why not try compiling by yourself?
  • Related