operator=

Assignment

Synopsis

constexpr
segments_view&
operator=(const segments_view& other) = default;

Defined in file <include/boost/url/segments_view.hpp> on line 188

Description

After assignment, both views reference the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced.

Postconditions

this->buffer().data() == other.buffer().data()

Complexity

Constant

Exception Safety

Throws nothing