#include <iostream>
Go to the source code of this file.
◆ NIMBLE_ABORT
#define NIMBLE_ABORT |
( |
| ... | ) |
|
Value:
#define NIMBLE_ABORT_IMPL(msg,...)
Definition nimble_macros.h:67
◆ NIMBLE_ABORT_IMPL
#define NIMBLE_ABORT_IMPL |
( |
| msg, |
|
|
| ... ) |
Value: do { \
std::cerr << " NIMBLE_ABORT statement at "; \
std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
abort(); \
} while (0)
67#define NIMBLE_ABORT_IMPL(msg, ...) \
68 do { \
69 std::cerr << " NIMBLE_ABORT statement at "; \
70 std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
71 abort(); \
72 } while (0)
◆ NIMBLE_ALWAYS_ASSERT
#define NIMBLE_ALWAYS_ASSERT |
( |
| cond | ) |
|
Value:
#define NIMBLE_ASSERT(...)
Definition nimble_macros.h:85
◆ NIMBLE_ALWAYS_ASSERT_VERBOSE
#define NIMBLE_ALWAYS_ASSERT_VERBOSE |
( |
| cond, |
|
|
| msg ) |
◆ NIMBLE_ASSERT
#define NIMBLE_ASSERT |
( |
| ... | ) |
|
Value:
#define NIMBLE_ASSERT_IMPL(cond, msg,...)
Definition nimble_macros.h:49
◆ NIMBLE_ASSERT_IMPL
#define NIMBLE_ASSERT_IMPL |
( |
| cond, |
|
|
| msg, |
|
|
| ... ) |
Value: do { \
if (!(cond)) { \
std::cerr << #cond " NIMBLE_ASSERT failed at "; \
std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
abort(); \
} \
} while (0)
49#define NIMBLE_ASSERT_IMPL(cond, msg, ...) \
50 do { \
51 if (!(cond)) { \
52 std::cerr << #cond " NIMBLE_ASSERT failed at "; \
53 std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
54 abort(); \
55 } \
56 } while (0)
◆ NIMBLE_DEBUG_ASSERT
#define NIMBLE_DEBUG_ASSERT |
( |
| cond | ) |
|
Value:
#define NIMBLE_EXPECT(...)
Definition nimble_macros.h:92
◆ NIMBLE_DEBUG_ASSERT_VERBOSE
#define NIMBLE_DEBUG_ASSERT_VERBOSE |
( |
| cond, |
|
|
| msg ) |
◆ NIMBLE_DUMP
#define NIMBLE_DUMP |
( |
| ... | ) |
|
Value:
#define NIMBLE_DUMP_IMPL(msg,...)
Definition nimble_macros.h:80
◆ NIMBLE_DUMP_IMPL
#define NIMBLE_DUMP_IMPL |
( |
| msg, |
|
|
| ... ) |
Value: do { \
std::cerr << msg; \
} while (0)
80#define NIMBLE_DUMP_IMPL(msg, ...) \
81 do { \
82 std::cerr << msg; \
83 } while (0)
◆ NIMBLE_EXPECT
#define NIMBLE_EXPECT |
( |
| ... | ) |
|
◆ NIMBLE_PANIC
#define NIMBLE_PANIC |
( |
| ... | ) |
|
Value:
#define NIMBLE_PANIC_IMPL(cond, msg,...)
Definition nimble_macros.h:58
◆ NIMBLE_PANIC_IMPL
#define NIMBLE_PANIC_IMPL |
( |
| cond, |
|
|
| msg, |
|
|
| ... ) |
Value: do { \
if ((cond)) { \
std::cerr << #cond " NIMBLE_PANIC condition at "; \
std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
abort(); \
} \
} while (0)
58#define NIMBLE_PANIC_IMPL(cond, msg, ...) \
59 do { \
60 if ((cond)) { \
61 std::cerr << #cond " NIMBLE_PANIC condition at "; \
62 std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
63 abort(); \
64 } \
65 } while (0)
◆ NIMBLE_TRACE
#define NIMBLE_TRACE |
( |
| ... | ) |
|
Value:
#define NIMBLE_TRACE_IMPL(msg,...)
Definition nimble_macros.h:74
◆ NIMBLE_TRACE_IMPL
#define NIMBLE_TRACE_IMPL |
( |
| msg, |
|
|
| ... ) |
Value: do { \
std::cerr << "********** NIMBLE_TRACE at "; \
std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
} while (0)
74#define NIMBLE_TRACE_IMPL(msg, ...) \
75 do { \
76 std::cerr << "********** NIMBLE_TRACE at "; \
77 std::cerr << __FILE__ << " +" << __LINE__ << "\n" << msg << '\n'; \
78 } while (0)