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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
params_ref::params_ref (2 of 2 overloads)

Constructor.

Synopsis
params_ref(
    params_ref const& other,
    encoding_opts opt);
Description

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

Postconditions
&this->url() == &other.url()
Complexity

Constant.

Exception Safety

Throws nothing.

Parameters

Name

Description

other

The other view.

opt

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


PrevUpHomeNext