Helper for insertion of an iterator

Synopsis

Declared in <nlohmann/json.hpp>

template<typename... Args>
iterator
insert_iterator(
    const_iterator pos,
    Args...&&... args);

Description

Note
: This uses std::distance to support GCC 4.8, see https://github.com/nlohmann/json/pull/1257

Return Value

an iterator for a basic_json container

Parameters

Name

Description

pos

a const iterator for a basic_json container

Created with MrDocs