namespace std {
template<class T>
using stop_token_of_t = remove_cvref_t<decltype(get_stop_token(declval<T>()))>;
}
概要
クエリ可能オブジェクト型T
から停止トークン型を取得する。
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??
namespace std {
template<class T>
using stop_token_of_t = remove_cvref_t<decltype(get_stop_token(declval<T>()))>;
}
クエリ可能オブジェクト型T
から停止トークン型を取得する。