35 printf(
"%s", str.c_str());
42 va_start(valist,format);
43 vprintf(format, valist);
BCP_fatal_error(const std::string &str)
The constructor prints out the error message, flushes the stdout buffer and aborts execution...
~BCP_fatal_error()
The destructor exists only because it must.
Currently there isn't any error handling in BCP.
static bool abort_on_error
BCP_fatal_error(const char *format,...)