Fabcoin Core
0.16.2
P2P Digital Currency
|
Debugging and diagnostic assertions. More...
#include "config.h"
Go to the source code of this file.
Macros | |
#define | CRYPTOPP_ASSERT(exp) (void)0 |
Debugging and diagnostic assertions.
CRYPTOPP_ASSERT
is the library's debugging and diagnostic assertion. CRYPTOPP_ASSERT
is enabled by CRYPTOPP_DEBUG
, DEBUG
or _DEBUG
.
CRYPTOPP_ASSERT
raises a SIGTRAP
(Unix) or calls __debugbreak()
(Windows). CRYPTOPP_ASSERT
is only in effect when the user requests a debug configuration. Unlike Posix assert, NDEBUG
(or failure to define it) does not affect the library. The traditional Posix define NDEBUG
has no effect on CRYPTOPP_DEBUG
or DebugTrapHandler.
Definition in file trap.h.