Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Teuchos_Assert.hpp File Reference
Include dependency graph for Teuchos_Assert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TEUCHOS_ASSERT(assertion_test)
 This macro is throws when an assert fails.
#define TEUCHOS_DEBUG_ASSERT(assertion_test)
#define TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE(index, lower_inclusive, upper_exclusive)
 This macro asserts that an integral number fallis in the range [lower_inclusive,upper_exclusive).
#define TEUCHOS_ASSERT_EQUALITY(val1, val2)
 This macro is checks that to numbers are equal and if not then throws an exception with a good error message.
#define TEUCHOS_ASSERT_INEQUALITY(val1, comp, val2)
 This macro is checks that an inequality between two numbers is satisified and if not then throws a good exception message.

Macro Definition Documentation

◆ TEUCHOS_DEBUG_ASSERT

#define TEUCHOS_DEBUG_ASSERT ( assertion_test)

Definition at line 64 of file Teuchos_Assert.hpp.