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 the current object

Parameters

NameDescription
otherThe object to move assign from