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

= 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#L92[boost/url/segments_encoded_view.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
segments_encoded_view() = default;
----

== Description


Default-constructed segments have
zero elements.

=== Example
[,cpp]
----
segments_encoded_view ps;
----

=== Effects
[,cpp]
----
return segments_encoded_view( "" );
----

=== Complexity

Constant.

=== Exception Safety

Throws nothing.








