Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Defines
Teuchos_Assert.hpp File Reference
#include "Teuchos_TestForException.hpp"
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.

Defines

#define TEUCHOS_ASSERT(assertion_test)   TEST_FOR_EXCEPT(!(assertion_test))
 This macro is throws when an assert fails.
#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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines