operator=

Assignment

Synopsis

param&
operator=(const param_view& other);

Declared in file <include/boost/url/param.hpp> on line 303

Defined in file <include/boost/url/param.hpp> on line 890

Description

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

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.