inserts copies of element into array
Synopsis
Declared in <nlohmann/json.hpp>
iterator
insert(
const_iterator pos,
size_type cnt,
basic_json const& val);
Return Value
iterator pointing to the first element inserted, or pos if cnt is 0
Parameters
Name |
Description |
pos |
iterator before which the elements will be inserted |
cnt |
number of copies to insert |
val |
element to insert |
Created with MrDocs