nlohmann
::
basic_json
::swap
exchanges the values
Synopsis
Declared in
<nlohmann/json.hpp>
void swap(
array_t
& other);
Parameters
Name
Description
other
a type for an array
Created with
MrDocs