[#nlohmann-ordered_map-erase-04] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered_map]::erase :relfileprefix: ../../ :mrdocs: removes the element at the given position == Synopsis Declared in `<nlohmann/ordered_map.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:nlohmann/ordered_map/iterator.adoc[iterator] erase(xref:nlohmann/ordered_map/iterator.adoc[iterator] pos); ---- == Return Value iterator following the removed element == Parameters [cols="1,4"] |=== | Name| Description | *pos* [in] | iterator to the element to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#