Constructor

Synopsis

Declared in header </boost/url/params_view.hpp#L130[boost/url/params_view.hpp,window=blank_]>

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

Description

After construction both views will reference the same character buffer 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 buffer extends until it is no longer referenced.

Postconditions

this->buffer().data() == other.buffer().data()

Complexity

Constant.

Exception Safety

Throws nothing

Return Value

  • void

Parameters

Name Type

other

``

opt

encoding_opts