TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ swap< nlohmann::json >()

template<>
void std::swap< nlohmann::json > ( nlohmann::json j1,
nlohmann::json j2 
)
inlinenoexcept

exchanges the values of two JSON objects

Since
version 1.0.0

Definition at line 26748 of file json.hpp.

26752{
26753 j1.swap(j2);
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
Definition: json.hpp:23802