[#boost-urls-segments_encoded_view-2constructor-0c]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_encoded_view.adoc[segments&lowbar;encoded&lowbar;view]::segments&lowbar;encoded&lowbar;view
:relfileprefix: ../../../
:mrdocs:

Constructor

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_view.hpp#L86[boost&sol;url&sol;segments&lowbar;encoded&lowbar;view&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
segments&lowbar;encoded&lowbar;view() noexcept;
----

== Description

Default&hyphen;constructed segments have zero elements&period;

== Example

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

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

Constant&period;

== Exception Safety

Throws nothing&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
