#include "trace.h"
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <memory>
Go to the source code of this file.
◆ ACTIVATE_TRACE_LIB_TERMINATE_ON_INTERNAL_ERROR
| #define ACTIVATE_TRACE_LIB_TERMINATE_ON_INTERNAL_ERROR |
◆ TerminateIf
| #define TerminateIf |
( |
| ... | ) |
|
Value: { \
if (__VA_ARGS__) \
{ \
std::cerr << "TERMINATING!:\n (" << #__VA_ARGS__ << ") == true\n " \
<< "'" << BOOST_CURRENT_FUNCTION << "' @ " << __LINE__ << " in '" \
<< __FILE__ << "'\n " \
<< "Stack Trace:\n"; \
Trace::PrintStackTrace(std::cerr, " "); \
std::cerr << std::flush; \
std::terminate(); \
} \
} \
do \
{ \
} while (false)
Definition at line 14 of file trace.cpp.