Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
params_encoded_view::operator=

Assignment.

Synopsis
params_encoded_view&
operator=(
    params_encoded_view const&);
Description

After assignment, both views reference the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced.

Postconditions
this->[link url.ref.boost__urls__params_encoded_view.buffer `buffer`]().[link url.ref.boost__urls__pct_string_view.data `data`]() == other.buffer().data()
Complexity

Constant

Exception Safety

Throws nothing


PrevUpHomeNext