|
|
Defined in header <stop_token> | ||
template<class T,class CallbackFn> using stop_callback_for_t= T::template callback_type<CallbackFn>; | (since C++26) | |
The alias templatestop_callback_for_t
is used to obtain the stop callback type of the typeT
.
The correspondingstop_callback_for_t
for standard stop token types and any validCallbackFn
are: