Defined in header <cparse/Indentation.hh>
Indentation& operator=( Indentation const& object ) noexcept; // (1)
Indentation& operator=( Indentation&& ) = delete; // (2)
- Copy assignment. Self-assignment (
a = a) is guarded and is a safe no-op. - Move assignment is deleted.
Parameters
| Parameter | Description |
|---|---|
object | The 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
- Indentation::Indentation — includes the copy constructor.

