29 #ifndef _GLIBCXX_DEBUG_MACRO_SWITCH_H 30 #define _GLIBCXX_DEBUG_MACRO_SWITCH_H 1 61 #ifndef _GLIBCXX_DEBUG 63 # define __glibcxx_requires_cond(_Cond,_Msg) 64 # define __glibcxx_requires_valid_range(_First,_Last) 65 # define __glibcxx_requires_sorted(_First,_Last) 66 # define __glibcxx_requires_sorted_pred(_First,_Last,_Pred) 67 # define __glibcxx_requires_sorted_set(_First1,_Last1,_First2) 68 # define __glibcxx_requires_sorted_set_pred(_First1,_Last1,_First2,_Pred) 69 # define __glibcxx_requires_partitioned_lower(_First,_Last,_Value) 70 # define __glibcxx_requires_partitioned_upper(_First,_Last,_Value) 71 # define __glibcxx_requires_partitioned_lower_pred(_First,_Last,_Value,_Pred) 72 # define __glibcxx_requires_partitioned_upper_pred(_First,_Last,_Value,_Pred) 73 # define __glibcxx_requires_heap(_First,_Last) 74 # define __glibcxx_requires_heap_pred(_First,_Last,_Pred) 75 # define __glibcxx_requires_string(_String) 76 # define __glibcxx_requires_string_len(_String,_Len) 77 # define __glibcxx_requires_subscript(_N) 78 # define __glibcxx_requires_irreflexive(_First,_Last) 79 # define __glibcxx_requires_irreflexive2(_First,_Last) 80 # define __glibcxx_requires_irreflexive_pred(_First,_Last,_Pred) 81 # define __glibcxx_requires_irreflexive_pred2(_First,_Last,_Pred) 83 #ifdef _GLIBCXX_ASSERTIONS 85 # define __glibcxx_requires_non_empty_range(_First,_Last) \ 86 __glibcxx_assert(_First != _Last) 88 # define __glibcxx_requires_nonempty() \ 89 __glibcxx_assert(! this->empty()) 91 # define __glibcxx_requires_non_empty_range(_First,_Last) 92 # define __glibcxx_requires_nonempty() 99 # define __glibcxx_requires_cond(_Cond,_Msg) _GLIBCXX_DEBUG_VERIFY(_Cond,_Msg) 100 # define __glibcxx_requires_valid_range(_First,_Last) \ 101 __glibcxx_check_valid_range(_First,_Last) 102 # define __glibcxx_requires_non_empty_range(_First,_Last) \ 103 __glibcxx_check_non_empty_range(_First,_Last) 104 # define __glibcxx_requires_sorted(_First,_Last) \ 105 __glibcxx_check_sorted(_First,_Last) 106 # define __glibcxx_requires_sorted_pred(_First,_Last,_Pred) \ 107 __glibcxx_check_sorted_pred(_First,_Last,_Pred) 108 # define __glibcxx_requires_sorted_set(_First1,_Last1,_First2) \ 109 __glibcxx_check_sorted_set(_First1,_Last1,_First2) 110 # define __glibcxx_requires_sorted_set_pred(_First1,_Last1,_First2,_Pred) \ 111 __glibcxx_check_sorted_set_pred(_First1,_Last1,_First2,_Pred) 112 # define __glibcxx_requires_partitioned_lower(_First,_Last,_Value) \ 113 __glibcxx_check_partitioned_lower(_First,_Last,_Value) 114 # define __glibcxx_requires_partitioned_upper(_First,_Last,_Value) \ 115 __glibcxx_check_partitioned_upper(_First,_Last,_Value) 116 # define __glibcxx_requires_partitioned_lower_pred(_First,_Last,_Value,_Pred) \ 117 __glibcxx_check_partitioned_lower_pred(_First,_Last,_Value,_Pred) 118 # define __glibcxx_requires_partitioned_upper_pred(_First,_Last,_Value,_Pred) \ 119 __glibcxx_check_partitioned_upper_pred(_First,_Last,_Value,_Pred) 120 # define __glibcxx_requires_heap(_First,_Last) \ 121 __glibcxx_check_heap(_First,_Last) 122 # define __glibcxx_requires_heap_pred(_First,_Last,_Pred) \ 123 __glibcxx_check_heap_pred(_First,_Last,_Pred) 124 # define __glibcxx_requires_nonempty() __glibcxx_check_nonempty() 125 # define __glibcxx_requires_string(_String) __glibcxx_check_string(_String) 126 # define __glibcxx_requires_string_len(_String,_Len) \ 127 __glibcxx_check_string_len(_String,_Len) 128 # define __glibcxx_requires_subscript(_N) __glibcxx_check_subscript(_N) 129 # define __glibcxx_requires_irreflexive(_First,_Last) \ 130 __glibcxx_check_irreflexive(_First,_Last) 131 # define __glibcxx_requires_irreflexive2(_First,_Last) \ 132 __glibcxx_check_irreflexive2(_First,_Last) 133 # define __glibcxx_requires_irreflexive_pred(_First,_Last,_Pred) \ 134 __glibcxx_check_irreflexive_pred(_First,_Last,_Pred) 135 # define __glibcxx_requires_irreflexive_pred2(_First,_Last,_Pred) \ 136 __glibcxx_check_irreflexive_pred2(_First,_Last,_Pred) 142 #endif // _GLIBCXX_DEBUG_MACRO_SWITCH_H GNU debug classes for public use.
GNU debug code, replaces standard behavior with debug behavior.
ISO C++ entities toplevel namespace is std.