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

exchanges the values

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(binary&lowbar;t::container&lowbar;type& other);
----


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