![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
|
inline |
inserts elements
Inserts elements from range [first, last)
.
[in] | first | begin of the range of elements to insert |
[in] | last | end of the range of elements to insert |
type_error.309 | if called on JSON values other than objects; example: "cannot use insert() 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 Logarithmic: O(N*log(size() + N))
, where N
is the number of elements to insert.
@liveexample{The example shows how insert()
is used.,insert__range_object}
Definition at line 23651 of file json.hpp.