Constructor
<include/boost/url/params_ref.hpp>
params_ref(
params_ref const& other,
encoding_opts opt) noexcept;
After construction, both views will reference the same url but this instance will use the specified encoding_opts when the values are decoded.
Ownership is not transferred; the caller is responsible for ensuring the lifetime of the url extends until it is no longer referenced.
&this->url() == &other.url()
Name | Description |
---|---|
other | The other view. |
opt | The options for decoding. If this parameter is omitted, `space_as_plus` is used. |