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

Method swap

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

Source from the content-addressed store, hash-verified

275}
276
277void Value::CZString::swap(CZString& other) {
278 std::swap(cstr_, other.cstr_);
279 std::swap(index_, other.index_);
280}
281
282Value::CZString& Value::CZString::operator=(const CZString& other) {
283 cstr_ = other.cstr_;

Callers 2

json_value.cppFile · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected