Assignment operator

Synopsis

Declared in <nlohmann/json.hpp>

basic_json&
operator=(basic_json other) noexcept(std::is_nothrow_move_constructible<value_t>::value && std::is_nothrow_move_assignable<value_t>::value && std::is_nothrow_move_constructible<json_value>::value && std::is_nothrow_move_assignable<json_value>::value && std::is_nothrow_move_assignable<json_base_class_t>::value);

Return Value

a class to store JSON values

Parameters

Name

Description

other

The object to assign from

Created with MrDocs