最終更新日時(UTC): 2025年04月04日 10時13分17秒
yoh が更新

履歴 編集

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

処理系

関連項目

参照

Morty Proxy This is a proxified and sanitized view of the page, visit original site.