最終更新日時(UTC):
が更新

履歴 編集

concept
<stop_token>

std::unstoppable_token(C++26)

namespace std {
  template<class Token>
  concept unstoppable_token =
    stoppable_token<Token> &&
    requires (const Token tok) {
      requires bool_constant<(!tok.stop_possible())>::value;
    };
}

概要

unstoppable_tokenは、型Tokenが停止不可能な停止トークンであることを表すコンセプトである。

バージョン

言語

  • C++26

処理系

関連項目

参照