exchanges the values of two JSON objects
- Since
- version 1.0.0
Definition at line 26748 of file json.hpp.
26752{
26754}
void swap(reference other) 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)
exchanges the values