:relfileprefix: ../../../
[#boost-urls-segments_encoded_view-2constructor-0b]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_encoded_view.adoc[pass:[segments_encoded_view]]::segments_encoded_view


Constructor


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_view.hpp#L115[boost/url/segments_encoded_view.hpp,window=blank_]>`

[source,cpp,subs="verbatim,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.
[,cpp]
----
this->buffer().data() == other.buffer().data()
----

=== Constant.

=== Throws nothing








