folly::swap

Swaps the value of a with the value of b.

Synopsis

Declared in <folly/ExceptionWrapper.h>

void
swap(
    exception_wrapper& a,
    exception_wrapper& b) noexcept;

Parameters

NameDescription
aThe first wrapper.
bThe second wrapper.