Assignment

Synopsis

Declared in header </boost/url/url_view.hpp#L310[boost/url/url_view.hpp,window=blank_]>

url_view&
operator=(const url_view_base& other) noexcept;

Description

After assignment, both views reference the same underlying character buffer. Ownership is not transferred.

Postconditions

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

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • ``

Parameters

Name Type

other

``