Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
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.

Macros

#define TEUCHOS_ASSERT(assertion_test)   TEUCHOS_TEST_FOR_EXCEPT(!(assertion_test))
 This macro is throws when an assert fails. More...
 
#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) More...
 
#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. More...
 
#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. More...
 

Macro Definition Documentation

#define TEUCHOS_DEBUG_ASSERT (   assertion_test)

Definition at line 64 of file Teuchos_Assert.hpp.