- execution[meta header]
- std[meta namespace]
- type-alias[meta id-type]
- cpp26[meta cpp]
namespace std {
template<class T>
using stop_token_of_t = remove_cvref_t<decltype(get_stop_token(declval<T>()))>;
}
- get_stop_token[link get_stop_token.md]
クエリ可能オブジェクト型T
から停止トークン型を取得する。
- C++26
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??