Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
param::operator= (4 of 4 overloads)

Assignment.

Synopsis
param&
operator=(
    param_pct_view const& other);
Description

The members of other are copied, re-using already existing string capacity.

Postconditions
this->[link url.ref.boost__urls__param.key `key`] == other.key && this->[link url.ref.boost__urls__param.value `value`] == other.value && this->[link url.ref.boost__urls__param.has_value `has_value`] == other.has_value
Complexity

Linear in other.key.size() + other.value.size().

Exception Safety

Calls to allocate may throw.

Parameters

Name

Description

other

The parameter to copy.


PrevUpHomeNext