boost::urls::decode_view::decode_view
Constructor
Synopsis
Declared in <boost/url/decode_view.hpp>
constexpr
explicit
decode_view(
pct_string_view s,
encoding_opts opt = {}) noexcept;
Description
This constructs a view from the character buffer s
, which must remain valid and unmodified until the view is no longer accessed.
Exception Safety
Although this function does not throw exceptions, implicitly constructing a pct_string_view
for the first argument can throw exceptions on invalid input.
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