exchanges the values
Synopsis
Declared in <nlohmann/json.hpp>
|
Note
|
This function is a hidden friend of basic_json<>, declared only inside that class: it can be found only through argument-dependent lookup. |
Exception specification
This function is potentially-throwing unless 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.
Parameters
Name |
Description |
left |
first value to exchange the contents with |
right |
second value to exchange the contents with |
Created with MrDocs