boost::urls::segments_ref::segments_ref

Constructor

Synopsis

Declared in header <boost/url/segments_ref.hpp>

constexpr
segments_ref(segments_ref const& other) = default;

Description

After construction, both views reference the same url. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the url extends until it is no longer referenced.

&this->url() == &other.url();

Constant.

Throws nothing.

Parameters

Name Description

other

The other view.