boost::urls::param_pct_view::param_pct_view

Constructors

Synopses

Declared in <boost/url/param.hpp>

Constructor

constexpr
param_pct_view() = default;
» more...

Construction

explicit
param_pct_view(param_view const& p);
» more...

Constructor

param_pct_view(
    pct_string_view key,
    pct_string_view value) noexcept;
» more...

Constructor

template<class OptionalString>
param_pct_view(
    pct_string_view key,
    OptionalString const& value);
» more...

Aggregate construction

param_pct_view(
    pct_string_view key,
    pct_string_view value,
    bool has_value) noexcept;
» more...

Exceptions

Name Thrown on
system_error key or value contains an invalid percent escape.

Return Value

A param object

Template Parameters

Name Description
OptionalString An optional core::string_view type, such as boost::optional<core::string_view> or std::optional<core::string_view>.

Parameters

Name Description
p The param to construct from.
key The key to set.
value The value to set.
has_value True if a value is present

Created with MrDocs