Assignment

Synopsis

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

url_view&
operator=(const url_view& 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

``