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

Constructor

== Synopses

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

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_view/2constructor-0c6.adoc[segments&lowbar;view]() noexcept;
----

[.small]#xref:boost/urls/segments_view/2constructor-0c6.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/segments_view/2constructor-0d.adoc[segments&lowbar;view](xref:boost/urls/segments_view.adoc[segments&lowbar;view] const& other) = default;
----

[.small]#xref:boost/urls/segments_view/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_view/2constructor-0e.adoc[segments&lowbar;view](core::string&lowbar;view s);
----

[.small]#xref:boost/urls/segments_view/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_view/2constructor-0a.adoc[segments&lowbar;view](
    xref:boost/urls/segments_base/iterator.adoc[iterator] first,
    xref:boost/urls/segments_base/iterator.adoc[iterator] last) noexcept;
----

[.small]#xref:boost/urls/segments_view/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== Exceptions

[cols="1,4"]
|===
| Name| Thrown on
| `system&lowbar;error`
| `s` contains an invalid path&period;
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The other view&period;
| *s*
| The string to parse&period;
| *first*
| The beginning iterator&period;
| *last*
| The ending iterator&period;
|===


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