![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
|
inline |
updates a JSON object from another object, overwriting existing keys
Inserts all values from from range [first, last)
and overwrites existing keys.
[in] | first | begin of the range of elements to insert |
[in] | last | end of the range of elements to insert |
type_error.312 | if called on JSON values other than objects; example: "cannot use update() with string" |
invalid_iterator.202 | if iterator first or last does does not point to an object; example: "iterators first and last must point to
objects" |
invalid_iterator.210 | if first and last do not belong to the same JSON value; example: "iterators do not fit" |
@complexity O(N*log(size() + N)), where N is the number of elements to insert.
@liveexample{The example shows how update()
is used__range.,update}
Definition at line 23748 of file json.hpp.