bsl::stop_source::stop_source

Create a stop_source that refers to the same stop state as original.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_source(stop_source const& original) noexcept;

Parameters

NameDescription
originalsource object used to initialize this object