params_view

Constructor

Synopsis

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

Declared in file <include/boost/url/params_view.hpp> on line 130

Defined in file <src/params_view.cpp> on line 31

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