[#nlohmann-basic_json-00-insert_iterator]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::insert&lowbar;iterator
:relfileprefix: ../../
:mrdocs:

Helper for insertion of an iterator

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Args&gt;
xref:nlohmann/basic_json-00/iterator.adoc[iterator]
insert&lowbar;iterator(
    xref:nlohmann/basic_json-00/const_iterator.adoc[const&lowbar;iterator] pos,
    Args&period;&period;&period;&&&period;&period;&period; args);
----

== Description

[NOTE]
====
&colon; This uses std&colon;&colon;distance to support GCC 4&period;8, see https&colon;&sol;&sol;github&period;com&sol;nlohmann&sol;json&sol;pull&sol;1257

====

== Return Value

an iterator for a basic&lowbar;json container

== Parameters

[cols=2]
|===
| Name
| Description
| *pos*
| a const iterator for a basic&lowbar;json container
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
