[#boost-urls-segments_ref-2constructor-09] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_ref.adoc[segments_ref]::segments_ref :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_ref.hpp#L124[boost/url/segments_ref.hpp]>` [source,cpp,subs="verbatim,replacements,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. === Postconditions [,cpp] ---- &this->url() == &other.url(); ---- === Complexity Constant. === Exception Safety Throws nothing. == Parameters |=== | Name | Description | *other* | The other view. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#