nlohmann::basic_json::operator=

copy assignment

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

Reference to the current object

Parameters

Name Description
other The object to assign from

Created with MrDocs