boost::urls::decode_view::decode_view

Constructor

Synopsis

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

Description

Default‐constructed views represent empty strings.

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

Complexity

Constant.

Exception Safety

Throws nothing.

Parameters

Name Description

s

A percent‐encoded string that has already been validated. Implicit conversion from other string types is supported but may throw exceptions.

opt

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

Created with MrDocs