[#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-00.adoc[swap]( xref:nlohmann/basic_json-0c.adoc[reference] left, xref:nlohmann/basic_json-0c.adoc[reference] right) noexcept(/* see-below */); ---- [.small]#xref:nlohmann/swap-00.adoc[_» more..._]# exchanges the values [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:nlohmann/swap-09.adoc[swap]( xref:nlohmann/basic_json-0c/reference.adoc[reference] left, xref:nlohmann/basic_json-0c/reference.adoc[reference] right) noexcept(/* see-below */); ---- [.small]#xref:nlohmann/swap-09.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *left* | first value to exchange the contents with | *right* | second value to exchange the contents with |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#