nlohmann::ordered_map::operator=

move assignment operator

Synopsis

Declared in <nlohmann/ordered_map.hpp>

ordered_map&
operator=(ordered_map&& other) noexcept(/* see-below */);

Exception specification

This function is potentially-throwing unless std::is_nothrow_move_assignable<Container>::value.

Return Value

reference to this ordered_map

Parameters

NameDescription
other [in]ordered_map to move from