[#boost-urls-segments_view-2constructor-0c] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_view.adoc[segments_view]::segments_view :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_view.hpp#L87[boost/url/segments_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr segments_view() = default; ---- == Description Default‐constructed segments have zero elements. === Example [,cpp] ---- segments_view ps; ---- === Effects [,cpp] ---- return segments_view( "" ); ---- === Complexity Constant. === Exception Safety Throws nothing. [.small]#Created with https://www.mrdocs.com[MrDocs]#