Create a stop_source that refers to a distinct stop state.
Synopsis
Declared in <bslstl_stoptoken.h>
explicit
stop_source(bsl::allocator<char> allocator);
Description
Use the specified allocator to supply memory. Note, however, that stop_source is not allocator‐aware.
Parameters
Name |
Description |
allocator |
allocator used to supply memory |
Created with MrDocs