[#nlohmann-swap-0e] = xref:nlohmann.adoc[nlohmann]::swap :relfileprefix: ../ :mrdocs: exchanges the values == Synopses Declared in `<nlohmann/json.hpp>` exchanges the values [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:nlohmann/swap-08.adoc[swap]( xref:nlohmann/basic_json-05/reference.adoc[reference] left, xref:nlohmann/basic_json-05/reference.adoc[reference] right) noexcept(/* see-below */); ---- [.small]#xref:nlohmann/swap-08.adoc[_» more..._]# exchanges the values [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:nlohmann/swap-03.adoc[swap]( xref:nlohmann/basic_json-00/reference.adoc[reference] left, xref:nlohmann/basic_json-00/reference.adoc[reference] right) noexcept(/* see-below */); ---- [.small]#xref:nlohmann/swap-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#