boost::urls::segments_encoded_view::segments_encoded_view

Constructor

Synopsis

constexpr
segments_encoded_view() = default;
constexpr
segments_encoded_view(segments_encoded_view const&) noexcept = default;
segments_encoded_view(core::string_view s);

Description

Default-constructed segments have zero elements.

segments_encoded_view ps;
return segments_encoded_view( "" );

Constant.

Throws nothing.

Exceptions

Name Thrown on

s

contains an invalid path.

Parameters

Name Description

s

The string to parse.