MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / swap

Function swap

extern/json/json.hpp:10558–10565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10556*/
10557template<>
10558inline void swap(nlohmann::json& j1,
10559 nlohmann::json& j2) noexcept(
10560 is_nothrow_move_constructible<nlohmann::json>::value and
10561 is_nothrow_move_assignable<nlohmann::json>::value
10562 )
10563{
10564 j1.swap(j2);
10565}
10566
10567/// hash value for JSON objects
10568template<>

Callers 3

basic_jsonClass · 0.70
swapMethod · 0.70
const_iteratorClass · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected