C++ Language/ProgramFlow/Parameters/DefaultParameter

When defining a function having a parameter, you can specify a default value that will be used if the caller doesn't provide a value for that parameter. For a member function, this should appear in the class definition as  (use ordinary syntax when implementing this function).

Additional information about default parameters (includes interactive examples)