[#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-05.adoc[swap]( xref:nlohmann/basic_json-0e/reference.adoc[reference] left, xref:nlohmann/basic_json-0e/reference.adoc[reference] right) noexcept(std::is_nothrow_move_constructible<value_t>::value && std::is_nothrow_move_assignable<value_t>::value && std::is_nothrow_move_constructible<json_value>::value && std::is_nothrow_move_assignable<json_value>::value); ---- [.small]#xref:nlohmann/swap-05.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(std::is_nothrow_move_constructible<value_t>::value && std::is_nothrow_move_assignable<value_t>::value && std::is_nothrow_move_constructible<json_value>::value && std::is_nothrow_move_assignable<json_value>::value); ---- [.small]#xref:nlohmann/swap-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#