<boost/url/param.hpp>
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...
Name | Thrown on |
---|---|
system_error |
key or value contains an invalid percent escape. |
Name | Description |
---|---|
OptionalString | An optional core::string_view type, such as boost::optional<core::string_view> or std::optional<core::string_view> . |
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 |