std::stop_callback_for_t - cppreference.com (original) (raw)

| | | | | --------------------------------------------------------------------------------------------------------------- | | ------------- | | template< class T, class CallbackFn > using stop_callback_for_t = T::template callback_type<CallbackFn>; | | (since C++26) |

The alias template stop_callback_for_t is used to obtain the stop callback type of the type T.

[edit] Notes

The corresponding stop_callback_for_t for standard stop token types and any valid CallbackFn are: