Defined in header <cparse/Indentation.hh>

Indentation& operator=( Indentation const& object ) noexcept;   // (1)
Indentation& operator=( Indentation&& )         = delete;       // (2)
  1. Copy assignment. Self-assignment (a = a) is guarded and is a safe no-op.
  2. Move assignment is deleted.

Parameters

ParameterDescription
objectThe Indentation to copy from.

Return value

*this.

Exceptions

noexcept.

Notes

Copy assignment overwrites both stepSize and indent. If you want to preserve the current indent and only change the step size, use setStepSize instead.

See also