params_ref

Constructor

Synopsis

params_ref(
    const params_ref& other,
    encoding_opts opt) noexcept;

Declared in file <include/boost/url/params_ref.hpp> on line 153

Defined in file <include/boost/url/impl/params_ref.hpp> on line 39

Description

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.

Postconditions

&this->url() == &other.url()

Complexity

Constant.

Exception Safety

Throws nothing.