object::operator=

Copy assignment.

Synopsis

object&
operator=(
    object const& other); (1)

object&
operator=(
    object&& other); (2)

object&
operator=(
    std::initializer_list< std::pair< string_view, value_ref > > init); (3)

Description

The contents of the object are replaced with an element-wise copy of other.

Complexity

Linear in size() plus other.size().

Exception Safety

Strong guarantee. Calls to memory_resource::allocate may throw.

Parameters

Name Description

other

The object to copy.

init

The initializer list to copy.