bsl::stop_source::stop_source

Create a stop_source that does not refer to a stop state.

Synopsis

Declared in <bslstl_stoptoken.h>

explicit
stop_source(nostopstate_t unused) noexcept;

Description

The resulting object cannot be used to request a stop.

Parameters

NameDescription
unusedtag selecting the empty stop_source constructor