boost::urls::url_view::operator=

Assignment

Synopsis

Declared in <boost/url/url_view.hpp>
url_view&
operator=(url_view_base const& 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

A reference to this object.

Parameters

Name Description
other The other view.

Created with MrDocs