libfoedus-core
FOEDUS Core Library
|
#include <string>
#include <cassert>
Go to the source code of this file.
Namespaces | |
foedus | |
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services). | |
Macros | |
#define | ASSERT_QUOTE(str) #str |
#define | ASSERT_EXPAND_AND_QUOTE(str) ASSERT_QUOTE(str) |
#define | ASSERT_ND(x) |
A warning-free wrapper macro of assert() that has no performance effect in release mode even when 'x' is not a simple variable. More... | |
#define | UNUSED_ND(var) |
Cross-compiler UNUSED macro for the same purpose as ASSERT_ND(x). More... | |
Functions | |
std::string | foedus::print_assert (const char *file, const char *func, int line, const char *description) |
Helper function to report what assertion failed. More... | |
std::string | foedus::print_backtrace () |
Prints out backtrace. More... | |
void | foedus::print_assert_backtrace (const char *file, const char *func, int line, const char *description) |
print_assert() + print_backtrace(). More... | |
std::string | foedus::get_recent_assert_backtrace () |
Retrieves the info left by print_assert_backtrace(). More... | |
#define ASSERT_EXPAND_AND_QUOTE | ( | str | ) | ASSERT_QUOTE(str) |
Definition at line 71 of file assert_nd.hpp.
#define ASSERT_QUOTE | ( | str | ) | #str |
Definition at line 70 of file assert_nd.hpp.