halcheck 1.0
Loading...
Searching...
No Matches

◆ guard()

void halcheck::gen::guard ( bool cond)

Throws a gen::discard_exception if the given condition is false.

Parameters
condThe condition to check.