swap overloads
Synopses
Declared in <absl/status/status.h>
swap()
void
swap(
AnyInvocable& f1,
AnyInvocable& f2) noexcept;
Swaps the contents of two Cords.
Swaps the contents of one status with another.
Swaps the contents of two inlined vectors.
template<
typename T,
size_t N,
typename A>
void
swap(
absl::InlinedVector<T, N, A>& a,
absl::InlinedVector<T, N, A>& b) noexcept(noexcept(a.swap(b)));
Swaps the contents of two absl::btree_multiset containers.
template<
typename K,
typename C,
typename A>
void
swap(
btree_multiset<K, C, A>& x,
btree_multiset<K, C, A>& y);
Swaps the contents of two absl::btree_set containers.
template<
typename K,
typename C,
typename A>
void
swap(
btree_set<K, C, A>& x,
btree_set<K, C, A>& y);
Swaps the contents of two absl::btree_map containers.
template<
typename K,
typename V,
typename C,
typename A>
void
swap(
btree_map<K, V, C, A>& x,
btree_map<K, V, C, A>& y);
Swaps the contents of two absl::btree_multimap containers.
template<
typename K,
typename V,
typename C,
typename A>
void
swap(
btree_multimap<K, V, C, A>& x,
btree_multimap<K, V, C, A>& y);
Swaps the contents of two absl::chunked_queue containers.
template<
typename T,
size_t BLo,
size_t BHi,
typename Allocator>
void
swap(
chunked_queue<T, BLo, BHi, Allocator>& a,
chunked_queue<T, BLo, BHi, Allocator>& b) noexcept;
Swaps the contents of two flat_hash_set containers.
template<
typename T,
typename H,
typename E,
typename A>
void
swap(
flat_hash_set<T, H, E, A>& x,
flat_hash_set<T, H, E, A>& y) noexcept(noexcept(x.swap(y)));
Swaps the contents of two node_hash_set containers.
template<
typename T,
typename H,
typename E,
typename A>
void
swap(
node_hash_set<T, H, E, A>& x,
node_hash_set<T, H, E, A>& y) noexcept(noexcept(x.swap(y)));
Swaps the contents of two flat_hash_map containers.
template<
typename K,
typename V,
typename H,
typename E,
typename A>
void
swap(
flat_hash_map<K, V, H, E, A>& x,
flat_hash_map<K, V, H, E, A>& y) noexcept(noexcept(x.swap(y)));
Swaps the contents of two node_hash_map containers.
template<
typename K,
typename V,
typename H,
typename E,
typename A>
void
swap(
node_hash_map<K, V, H, E, A>& x,
node_hash_map<K, V, H, E, A>& y) noexcept(noexcept(x.swap(y)));
Parameters
Name |
Description |
f1 |
The first |
f2 |
The second |
x |
The first Cord. |
y |
The second Cord. |
a |
The first status. |
b |
The second status. |
Created with MrDocs