[#D4F1A89C2F1C6BF35BE824A4EB14329EA5805F04]

Function segments_ref:: operator=

Assignment

Synopsis

            segments_ref&
operator=(segments_ref const& other);
        

Description

The existing contents are replaced by a copy of the other segments.

All iterators are invalidated.

NOTE

None of the character buffers referenced by `other` may overlap the buffer of the underlying url, or else the behavior is undefined.

Effects

this->assign( other.begin(), other.end() );

Complexity

Linear in `other.buffer().size()`.

Exception Safety

Strong guarantee. Calls to allocate may throw.

@{