[#boost-urls-segments_encoded_ref-2constructor-0a] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_encoded_ref.adoc[segments_encoded_ref]::segments_encoded_ref :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_ref.hpp#L127[boost/url/segments_encoded_ref.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr segments_encoded_ref(xref:boost/urls/segments_encoded_ref.adoc[segments_encoded_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]#