MCPcopy Create free account
hub / github.com/SsageParuders/Android_Native_Surface / swap

Function swap

my_libhv/cpputil/json.hpp:22359–22369  ·  view source on GitHub ↗

! @brief exchanges the values Exchanges the contents of the JSON value with those of @a other. Does not invoke any move, copy, or swap operations on individual elements. All iterators and references remain valid. The past-the-end iterator is invalidated. @param[in,out] other JSON value to exchange the contents with @complexity Constant. @liveexample{The example

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

json.hppFile · 0.70

Calls 9

assert_invariantFunction · 0.85
is_arrayFunction · 0.85
type_nameFunction · 0.85
is_objectFunction · 0.85
is_stringFunction · 0.85
is_binaryFunction · 0.85
createFunction · 0.70
stringFunction · 0.50
swapMethod · 0.45

Tested by

no test coverage detected