Pointer to attach?

Am I understanding this correctly? When the attach() method is called in the following code snip, the returned value is a pointer to this Servo instance's attach overridden function? My reason in asking is I want to tweak the class a bit so that when a Servo gets attached it attaches with a pulse width at servo center and a frame timing in the realm of acceptability for a standard servo. As the class stands as shipped if Servo.write has not been called before the attach the pulse rates are way off the chart for a servo and can result in cremating the servo. From what I have observed from several other servo related posts coupled with visually inspecting the waveforms at the servo pin is that the pulse times are so short execution never returns to the user's code. This only happens when the class is packaged in another class.

uint8_t Servo::attach(int pin)
{
  return this->attach(pin, MIN_PULSE_WIDTH, MAX_PULSE_WIDTH);
}

ajofscott:
Am I understanding this correctly? When the attach() method is called in the following code snip, the returned value is a pointer to this Servo instance's attach overridden function?

No, it's returning the result of the call to the attach() method that takes three arguments.

'this' is the pointer to the servo object. 'this->attach()' is a call to one of the attach() methods of the object. The particular attach() method is chosen by the number and type of arguments.

This function makes myServo.attach(pin); equivalent to myServo.attach(pin, 544, 2400);

There are two attach() methods in the Servo class - the one you showed, and the one that that one calls, with three arguments. Whatever value the other function returns is returned by the one shown. That value is not a pointer.

Ok got it, return is returning the function return from an internal call to an exposed method.