Constructor

Synopsis

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

constexpr
segments_encoded_view(const segments_encoded_view&) 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

Return Value

  • void

Parameters

Name Type

**

``