Linux TPIE debugging helpers. More...
#include <tpie/config.h>
#include <iostream>
Go to the source code of this file.
Namespaces | |
tpie | |
pipelining/factory_base.h Base class of pipelining factories | |
Macros | |
#define | softassert_str(x) #x |
#define | softassert(x) {if (!(x)) tpie::__softassert(softassert_str(x), __FILE__, __LINE__);} |
Soft assertion. More... | |
Functions | |
void | tpie::backtrace (std::ostream &out, int depth=1024) |
Output a function call backtrace for debugging. More... | |
void | tpie::__softassert (const char *expr, const char *file, int line) |
Do not use this directly; use the softassert() macro instead. More... | |
Linux TPIE debugging helpers.
Definition in file backtrace.h.
#define softassert | ( | x | ) | {if (!(x)) tpie::__softassert(softassert_str(x), __FILE__, __LINE__);} |
Soft assertion.
If not x, report file and line number to the error log.
Definition at line 61 of file backtrace.h.
#define softassert_str | ( | x | ) | #x |
Definition at line 54 of file backtrace.h.