class template
std::stop_callback
- Header
<stop_token>- Scope
std- cppreference
- std::stop_callback
Synopsis
template<class CallbackFn>
class stop_callback;Member types
| Name | Declaration |
|---|---|
callback_typetype alias · member type | = CallbackFn |
Member functions
| Name | Declaration |
|---|---|
stop_callbackconstructor · 4 overloads | stop_callback(const stop_callback& other) +3 more |
~stop_callbackdestructor | ~stop_callback() |
operator=operator · 2 overloads | stop_callback& operator=(const stop_callback& other) +1 more |