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

履歴 編集

concept
<functional>

std::nothrow-callable(C++26)

template<class Fn, class... Args>
concept nothrow-callable =   // exposition only
  callable<Fn, Args...> &&
  requires (Fn&& fn, Args&&... args) {
    { std::forward<Fn>(fn)(std::forward<Args>(args)...) } noexcept;
  };

概要

nothrow-callableは、関数呼び出し式fn(args...)適格かつ例外送出しないことを表す説明専用のコンセプトである。

備考

説明専用のコンセプトnothrow-callableは、実行制御ライブラリの仕様定義のため導入された。

バージョン

言語

  • C++26

参照