Constructor

Synopsis

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

constexpr
segments_view(const segments_view& other) = default;

Description

After construction, viewss reference the same underlying 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

other

``