boost::urls::segments_view::segments_view

Constructor

Synopsis

constexpr
segments_view() = default;
constexpr
segments_view(segments_view const& other) = default;
segments_view(core::string_view s);

Description

Default-constructed segments have zero elements.

segments_view ps;
return segments_view( "" );

Constant.

Throws nothing.

Exceptions

Name Thrown on

s

contains an invalid path.

Parameters

Name Description

s

The string to parse.