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