Create a stop_source that refers to a distinct stop state.
stop_source
Declared in <bslstl_stoptoken.h>
<bslstl_stoptoken.h>
explicit stop_source(bsl::allocator<char> allocator);
Use the specified allocator to supply memory. Note, however, that stop_source is not allocator-aware.
allocator