Defined in header <cparse/Indentation.hh>

void setStepSize( uint_fast16_t step_size ) noexcept;

Sets the step size to step_size. The current indent is not changed — the next call to right() or left() will move by the new size.

Parameters

ParameterDescription
step_sizeThe new step size.

Return value

(none)

Exceptions

noexcept.

Notes

If you want to reset both step size and indent, use reset() — it is one call rather than two.

See also