MCPcopy Create free account
hub / github.com/NativeScript/android / swap

Method swap

test-app/runtime/src/main/cpp/robin_hood.h:648–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646 }
647
648 void swap(pair<T1, T2>& o) noexcept((detail::swappable::nothrow<T1>::value) &&
649 (detail::swappable::nothrow<T2>::value)) {
650 using std::swap;
651 swap(first, o.first);
652 swap(second, o.second);
653 }
654
655 T1 first; // NOLINT(misc-non-private-member-variables-in-classes)
656 T2 second; // NOLINT(misc-non-private-member-variables-in-classes)

Callers 2

swapFunction · 0.45
swapMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected