Assignment

Synopsis

range&
operator=(range&& other) noexcept;

Description

After the move, this references the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring that the lifetime of the buffer extends until it is no longer referenced. The moved‐from object becomes as if default‐constructed.

Exception Safety

Throws nothing.

Return Value

*this

Parameters

Name

Description

other

The object to move assign from

Created with MrDocs