MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / throws

Method throws

test/include/test.hpp:428–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426
427template <class F>
428bool throws(F f)
429{
430 try
431 {
432 f();
433 return false;
434 }
435 catch(...)
436 {
437 return true;
438 }
439}
440
441template <class Exception, class F>
442bool throws(F f, const std::string& msg = "")

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected