Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include "Teuchos_Assert.hpp"
Go to the source code of this file.
Macros | |
#define | TEUCHOS_SWITCH_DEFAULT_DEBUG_ASSERT() |
Macro to insert switch default that throws in a debug build. More... | |
#define | TEUCHOS_IF_ELSE_DEBUG_ASSERT() else {} |
Macro to insert else block that throws in a debug build. More... | |
#define TEUCHOS_SWITCH_DEFAULT_DEBUG_ASSERT | ( | ) |
Macro to insert switch default that throws in a debug build.
In a non-debug build, however, this does nothing. This is also helpful for removing code that would otherwise show as not being covered.
Definition at line 59 of file Teuchos_DebugDefaultAsserts.hpp.
#define TEUCHOS_IF_ELSE_DEBUG_ASSERT | ( | ) | else {} |
Macro to insert else block that throws in a debug build.
In a non-debug build, however, this does nothing. This is also helpful for removing code that would otherwise show as not being covered.
Definition at line 83 of file Teuchos_DebugDefaultAsserts.hpp.