MCPcopy Create free account
hub / github.com/HelenOS/helenos / rethrow_if_nested

Function rethrow_if_nested

uspace/lib/cpp/include/__bits/exception.hpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

throw_nestedMethod · 0.80

Tested by

no test coverage detected