Boost C++ Libraries Home Libraries People FAQ More

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

Assignment.

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

Upon assignment, this becomes a copy of other.

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.

other The object to assign from.

PrevUpHomeNext