Fortran SFF API to data I/O streams in C++

◆ FAPIDXX_report_assert

#define FAPIDXX_report_assert (   C,
  M,
 
)
Value:
if (!(C)) { \
fapidxx::report_violation(M, __FILE__, __LINE__, #C); \
std::cerr << "* comment: " << V << std::endl; \
std::cerr << std::endl; \
std::cerr.flush(); \
}

Check an assertion and report only.

Parameters
Cassert condition
Mmessage of type char*
Vany values that should be output (comment) a sequence of values and output operators

Definition at line 178 of file error.h.