[#boost-urls-segments_view-2constructor-0c9] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_view.adoc[segments_view]::segments_view :relfileprefix: ../../../ :mrdocs: Constructor == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_view.hpp#L165[boost/url/segments_view.hpp]>` Constructor [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/segments_view/2constructor-0c6.adoc[segments_view]() = default; ---- [.small]#xref:boost/urls/segments_view/2constructor-0c6.adoc[_» more..._]# Constructor [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/segments_view/2constructor-0d.adoc[segments_view](xref:boost/urls/segments_view.adoc[segments_view] const& other) = default; ---- [.small]#xref:boost/urls/segments_view/2constructor-0d.adoc[_» more..._]# Constructor [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/segments_view/2constructor-0e.adoc[segments_view](core::string_view s); ---- [.small]#xref:boost/urls/segments_view/2constructor-0e.adoc[_» more..._]# == Exceptions [cols=2] |=== | Name | Thrown on | `system_error` | `s` contains an invalid path. |=== == Parameters [cols=2] |=== | Name | Description | *other* | The other view. | *s* | The string to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#