absl::swap

Swaps the contents of two inlined vectors.

Synopsis

Declared in <absl/container/inlined_vector.h>

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)));

Parameters

NameDescription
aThe first inlined vector.
bThe second inlined vector.