MCPcopy Create free account
hub / github.com/catboost/catboost / Swap

Method Swap

library/cpp/json/writer/json_value.cpp:970–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968 }
969
970 void TJsonValue::Swap(TJsonValue& rhs) noexcept {
971 TJsonValue tmp(std::move(*this));
972 rhs.SwapWithUndefined(*this);
973 tmp.SwapWithUndefined(rhs);
974 }
975
976 void TJsonValue::Save(IOutputStream* s) const {
977 ::Save(s, static_cast<ui8>(Type));

Callers 2

json_value.cppFile · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 2

moveFunction · 0.50
SwapWithUndefinedMethod · 0.45

Tested by

no test coverage detected