Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
segments_ref::segments_ref

Constructor.

Synopsis
segments_ref(
    segments_ref const& other);
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.

Postconditions
&this->[link url.ref.boost__urls__segments_ref.url `url`]() == &other.[link url.ref.boost__urls__url_base.url `url`]();
Complexity

Constant.

Exception Safety

Throws nothing.

Parameters

Name

Description

other

The other view.


PrevUpHomeNext