boost::urls::param::operator=

Assignment

Synopsis

Declared in <boost/url/param.hpp>

param&
operator=(param_pct_view const& other);

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.

Return Value

A reference to this object.

Parameters

Name

Description

other

The parameter to copy.

Created with MrDocs