helper for insertion of an iterator
Declared in <nlohmann/json.hpp>
template<typename... Args>
iterator
insert_iterator(
const_iterator pos,
Args&&... args);
: This uses std::distance to support GCC 4.8, see https://github.com/nlohmann/json/pull/1257
iterator pointing to the first element inserted, or pos if no element was inserted
| Name | Description |
|---|---|
| pos | iterator before which the content will be inserted into the array |
| args | arguments forwarded to the underlying array's insert() |