Go to the documentation of this file. 29 #ifndef _GLIBCXX_DEBUG_ASSERTIONS_H 30 #define _GLIBCXX_DEBUG_ASSERTIONS_H 1 34 #ifndef _GLIBCXX_DEBUG 36 # define _GLIBCXX_DEBUG_ASSERT(_Condition) 37 # define _GLIBCXX_DEBUG_PEDASSERT(_Condition) 38 # define _GLIBCXX_DEBUG_ONLY(_Statement) 42 #ifndef _GLIBCXX_ASSERTIONS 43 # define __glibcxx_requires_non_empty_range(_First,_Last) 44 # define __glibcxx_requires_nonempty() 45 # define __glibcxx_requires_subscript(_N) 49 # define __glibcxx_requires_non_empty_range(_First,_Last) \ 50 __glibcxx_assert(_First != _Last) 51 # define __glibcxx_requires_subscript(_N) \ 52 __glibcxx_assert(_N < this->size()) 54 # define __glibcxx_requires_nonempty() \ 55 __glibcxx_assert(!this->empty()) 59 # define _GLIBCXX_DEBUG_ASSERT(_Condition) __glibcxx_assert(_Condition) 61 # ifdef _GLIBCXX_DEBUG_PEDANTIC 62 # define _GLIBCXX_DEBUG_PEDASSERT(_Condition) _GLIBCXX_DEBUG_ASSERT(_Condition) 64 # define _GLIBCXX_DEBUG_PEDASSERT(_Condition) 67 # define _GLIBCXX_DEBUG_ONLY(_Statement) _Statement 70 #endif // _GLIBCXX_DEBUG_ASSERTIONS