| 478 | template <class T, |
| 479 | enable_if_t<std::is_same<std::nested_exception, remove_cvref_t<T>>::value, int> = 0> |
| 480 | bool handle_nested_exception(const T &exc, const std::exception_ptr &p) { |
| 481 | std::exception_ptr nested = exc.nested_ptr(); |
| 482 | if (nested != nullptr && nested != p) { |
| 483 | translate_exception(nested); |
| 484 | return true; |
| 485 | } |
| 486 | return false; |
| 487 | } |
| 488 | |
| 489 | template <class T, |
| 490 | enable_if_t<!std::is_same<std::nested_exception, remove_cvref_t<T>>::value, int> = 0> |
no test coverage detected