Calls fail() if the condition is false.
This is much like $(FULL_STD_EXCEPTION enforce), but for for fail() instead of arbitrary exceptions.
failEnforce(brokenSquareRoot(4)==2, "Reality broke! Expected 2, not ", brokenSquareRoot(4)); // Output: // yourProgramName: ERROR: Reality broke! Expected 2, not 555
See Implementation
Calls fail() if the condition is false.
This is much like $(FULL_STD_EXCEPTION enforce), but for for fail() instead of arbitrary exceptions.