boost::urls::params_ref::params_ref

Constructor

Synopsis

Declared in <include/boost/url/params_ref.hpp>

constexpr
params_ref(params_ref const& other) = default;

» more...

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

» more...

Description

After construction, both views reference the same url. 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()

Constant.

Throws nothing.

Parameters

Name Description
other

The other view.

opt

The options for decoding. If this parameter is omitted, `space_as_plus` is used.

Created with MrDocs