[#boost-urls-segments_encoded_view-2constructor-0b] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_encoded_view.adoc[segments_encoded_view]::segments_encoded_view :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_view.hpp#L115[boost/url/segments_encoded_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr segments_encoded_view(xref:boost/urls/segments_encoded_view.adoc[segments_encoded_view] const&) noexcept = default; ---- == Description After construction, both views reference the same character buffer. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced. === Postconditions [,cpp] ---- this->buffer().data() == other.buffer().data() ---- === Complexity Constant. === Exception Safety Throws nothing [.small]#Created with https://www.mrdocs.com[MrDocs]#