folly::swap

Swap the contents of two vectors.

Synopsis

Declared in <folly/container/FBVector.h>

template<
    class T,
    class A>
void
swap(
    fbvector<T, A>& lhs,
    fbvector<T, A>& rhs) noexcept;

Parameters

NameDescription
lhsThe first vector.
rhsThe second vector.