Constructors
Declared in <bslstl_stoptoken.h>
Create a stop_source object that refers to a distinct stop state, using the currently installed default allocator to supply memory.
stop_source();
» more...
Create a stop_source that refers to the same stop state as original.
stop_source(stop_source const& original) noexcept;
» more...
Create a stop_source that does not refer to a stop state.
explicit
stop_source(nostopstate_t unused) noexcept;
» more...
Create a stop_source by moving from original.
stop_source(BloombergLP::bslmf::MovableRef<stop_source> original) noexcept;
» more...
Create a stop_source that refers to a distinct stop state.
explicit
stop_source(bsl::allocator<char> allocator);
» more...
| Name | Description |
|---|---|
| original | source object used to initialize this object |
| unused | tag selecting the empty stop_source constructor |
| allocator | allocator used to supply memory |