I disagree. The output of my circuit is a negative voltage. The capacitor is not reversed. It is polarized to receive a negative voltage.
The output is -Vin and GND = -Vbat.
If the output is attached to VCC rather than GND, the output is +Vin and -Vin = 2*Vin
One could also have an output of 2xVin using this circuit.
Both are buck-boost converters. They are not a pure buck, they are not a boost either and most certainly the components are not in the wrong place!
The maxim regulator you posted takes a negative voltage and converts it to a positive, hence the component values are the other way round.