boost::urls::decode_view::decode_view

Constructor

Synopsis

constexpr
decode_view() noexcept = default;
explicit
decode_view(
    pct_string_view s,
    encoding_opts opt = = {}) noexcept;

Description

Default-constructed views represent empty strings.

decode_view ds;
this->empty() == true

Constant.

Throws nothing.

Exceptions

Name Thrown on

The

string contains an invalid percent encoding.

Parameters

Name Description

s

A percent-encoded string that has already been validated.

opt

The options for decoding. If this parameter is omitted, the default options are used.