chsvlib
chsv helper source code

◆ verify

#define verify (   expression)    implementation

#include <chsverr.h>

Verifies that a parametrically specified predicate expression is satisfied and calls std::abort, if that is not the case.

Parameters
expressionThe predicate expression to verify.

If the predicate is not satisfied, the function directs a message pointing to the location of the offending verify expression in source code to the standard error device (i.e. stderr) and calls std::abort.

Examples
chsvthrd\barrier_test.cpp.