MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / throws

Function throws

tests/BS_thread_pool_test.cpp:2166–2170  ·  view source on GitHub ↗

* @brief A function that throws a `test_exception`. */

Source from the content-addressed store, hash-verified

2164 * @brief A function that throws a `test_exception`.
2165 */
2166void throws()
2167{
2168 logln("Throwing exception...");
2169 throw test_exception();
2170};
2171
2172/**
2173 * @brief Check that exceptions are forwarded correctly by submit_task().

Callers

nothing calls this directly

Calls 2

loglnFunction · 0.85
test_exceptionClass · 0.85

Tested by

no test coverage detected