:relfileprefix: ../../../ [#boost-urls-segments_ref-2constructor] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_ref.adoc[pass:[segments_ref]]::segments_ref Constructor === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- constexpr segments_ref(xref:boost/urls/segments_ref.adoc[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. [,cpp] ---- &this->url() == &other.url(); ---- === Constant. === Throws nothing. === Parameters |=== | Name | Description | *other* | The other view. |===