Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 064f557086.
PrevUpHomeNext
params_view::params_view (3 of 5 overloads)

Constructor.

Synopsis
params_view(
    params_view const& other,
    encoding_opts opt);
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


PrevUpHomeNext