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 for the latest Boost documentation.
PrevUpHomeNext
param::operator= (2 of 4 overloads)

Assignment.

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

Upon assignment, this becomes a copy of other.

Postconditions
this->key == other.key && this->value == other.value && this->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