MCPcopy Create free account
hub / github.com/Kitware/CMake / swapPayload

Method swapPayload

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:456–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void Value::swapPayload(Value& other) {
457 std::swap(bits_, other.bits_);
458 std::swap(value_, other.value_);
459}
460
461void Value::copyPayload(const Value& other) {
462 releasePayload();

Callers 6

readValueMethod · 0.80
readObjectMethod · 0.80
readArrayMethod · 0.80
decodeNumberMethod · 0.80
decodeDoubleMethod · 0.80
decodeStringMethod · 0.80

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected