copy assignment
Synopsis
Declared in <nlohmann/json.hpp>
basic_json&
operator=(basic_json other) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless 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 *this
Parameters
Name |
Description |
other |
the basic_json object to assign from, taken by value to enable copy‐and‐swap |
Created with MrDocs