MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / swap

Method swap

externals/picojson/picojson.h:346–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345#endif
346inline void value::swap(value &x) PICOJSON_NOEXCEPT {
347 std::swap(type_, x.type_);
348 std::swap(u_, x.u_);
349}
350
351#define IS(ctype, jtype) \
352 template <> inline bool value::is<ctype>() const { \

Callers 2

swapFunction · 0.45
expandMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected