Assignment
<include/boost/url/segments_ref.hpp>
segments_ref&
operator=(segments_ref const& other);
The existing contents are replaced by a copy of the other segments.
All iterators are invalidated.
None of the character buffers referenced by `other` may overlap the buffer of the underlying url, or else the behavior is undefined.
this->assign( other.begin(), other.end() );
Calls to allocate may throw.
@{
Name | Description |
---|---|
other | The segments to assign. |