Upon construction, this becomes a copy of other
.
this->key == other.key && this->value == other.value && this->has_value == other.has_value
Linear in other.key.size() + other.value.size()
.
Calls to allocate may throw.
Name | Description |
---|---|
other | The object to construct from. |