|
YOrch 1.0.0
|
Extracts the result type returned by an exception fallback policy. More...
Extracts the result type returned by an exception fallback policy.
The policy contract is a noexcept call that accepts a captured exception either by value (std::exception_ptr) or by const lvalue reference (const std::exception_ptr&).
| Policy | Policy type stored inside catch_as_failure(task, policy). |
| Enable | SFINAE hook used to detect whether the policy is invocable. |
Definition at line 44 of file traits.hpp.