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