MCPcopy Create free account
hub / github.com/ceph/ceph / swap

Function swap

src/include/cpp-btree/btree.h:193–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192template <class K, class V>
193void swap(map_slot_type<K, V>& lhs, map_slot_type<K, V>& rhs) {
194 std::swap(lhs.mutable_value, rhs.mutable_value);
195}
196
197// A parameters structure for holding the type parameters for a btree_map.
198// Compare and Alloc should be nothrow copy-constructible.

Callers 3

swapMethod · 0.70
operator=Method · 0.70
buffers_tClass · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected