boost::urls::segments_encoded_view::segments_encoded_view

Constructor

Synopsis

Declared in <boost/url/segments_encoded_view.hpp>
constexpr
segments_encoded_view(segments_encoded_view const& other) noexcept = default;


Description

After construction, both views reference the same 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

Parameters

Name Description
other The object to copy construct from

Created with MrDocs