futures::is_future_like
Futures / Future Traits / is_future_like
Defined in header <futures/traits/is_future_like.hpp>
template <class T>
struct is_future_like;
Customization point to determine if a type is a future type.
Description
This trait identifies whether the type represents a future value.
Unless the trait is specialized, a type is considered future-like if it has the get()
member function.
See Also:
- has_stop_token
Updated on 2023-01-04