params_view

Constructor

Synopsis

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

Declared in file <src/params_view.cpp> at 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