| 129 | |
| 130 | template<class E> |
| 131 | void rethrow_if_nested(const E& e) |
| 132 | { |
| 133 | auto casted = dynamic_cast<const nested_exception*>(&e); |
| 134 | if (casted) |
| 135 | casted->throw_nested(); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | #endif |
nothing calls this directly
no test coverage detected