bsl::stop_source::swap

Exchange the stop states referred to by *this and other.

Synopsis

Declared in <bslstl_stoptoken.h>

void
swap(stop_source& other) noexcept;

Description

Equivalent to swap(*this, other).

Parameters

NameDescription
othersource with which to exchange stop states