MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / make_assertion

Method make_assertion

src/ap.h:101–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 std::string msg;
100
101 static void make_assertion(bool bClause)
102 { if(!bClause) throw ap_error(); };
103 static void make_assertion(bool bClause, const char *msg)
104 { if(!bClause) throw ap_error(msg); };
105private:

Callers

nothing calls this directly

Calls 1

ap_errorClass · 0.85

Tested by

no test coverage detected