Classes | |
struct | __is_same |
struct | __is_same< _Type, _Type > |
struct | __truth |
class | _Error_formatter |
struct | _Error_formatter::_Is_iterator |
struct | _Error_formatter::_Is_sequence |
struct | _Error_formatter::_Parameter |
class | _Safe_iterator_base |
Basic functionality for a "safe" iterator. More... | |
class | _Safe_sequence_base |
Base class that supports tracking of iterators that reference a sequence. More... | |
class | _Safe_iterator |
Safe iterator wrapper. More... | |
class | _Not_equal_to |
class | _After_nth_from |
class | _Safe_sequence |
Base class for constructing a "safe" sequence type that tracks iterators that reference it. More... | |
class | basic_string |
Enumerations | |
enum | _Debug_msg_id { __msg_valid_range, __msg_insert_singular, __msg_insert_different, __msg_erase_bad, __msg_erase_different, __msg_subscript_oob, __msg_empty, __msg_unpartitioned, __msg_unpartitioned_pred, __msg_unsorted, __msg_unsorted_pred, __msg_not_heap, __msg_not_heap_pred, __msg_bad_bitset_write, __msg_bad_bitset_read, __msg_bad_bitset_flip, __msg_self_splice, __msg_splice_alloc, __msg_splice_bad, __msg_splice_other, __msg_splice_overlap, __msg_init_singular, __msg_init_copy_singular, __msg_init_const_singular, __msg_copy_singular, __msg_bad_deref, __msg_bad_inc, __msg_bad_dec, __msg_iter_subscript_oob, __msg_advance_oob, __msg_retreat_oob, __msg_iter_compare_bad, __msg_compare_different, __msg_iter_order_bad, __msg_order_different, __msg_distance_bad, __msg_distance_different, __msg_deref_istream, __msg_inc_istream, __msg_output_ostream, __msg_deref_istreambuf, __msg_inc_istreambuf } |
Functions | |
bool | __check_singular_aux (const void *) |
template<typename _Iterator> bool | __check_singular (_Iterator &__x) |
template<typename _Tp> bool | __check_singular (const _Tp *__ptr) |
template<typename _Iterator, typename _Sequence> bool | __check_singular (const _Safe_iterator< _Iterator, _Sequence > &__x) |
template<typename _Iterator> bool | __check_dereferenceable (_Iterator &) |
template<typename _Tp> bool | __check_dereferenceable (const _Tp *__ptr) |
template<typename _Iterator, typename _Sequence> bool | __check_dereferenceable (const _Safe_iterator< _Iterator, _Sequence > &__x) |
template<typename _RandomAccessIterator> bool | __valid_range_aux2 (const _RandomAccessIterator &__first, const _RandomAccessIterator &__last, std::random_access_iterator_tag) |
template<typename _InputIterator> bool | __valid_range_aux2 (const _InputIterator &, const _InputIterator &, std::input_iterator_tag) |
template<typename _Integral> bool | __valid_range_aux (const _Integral &, const _Integral &, __true_type) |
template<typename _InputIterator> bool | __valid_range_aux (const _InputIterator &__first, const _InputIterator &__last, __false_type) |
template<typename _InputIterator> bool | __valid_range (const _InputIterator &__first, const _InputIterator &__last) |
template<typename _Iterator, typename _Sequence> bool | __valid_range (const _Safe_iterator< _Iterator, _Sequence > &__first, const _Safe_iterator< _Iterator, _Sequence > &__last) |
template<typename _InputIterator> _InputIterator | __check_valid_range (const _InputIterator &__first, const _InputIterator &__last) |
template<typename _CharT, typename _Integer> const _CharT * | __check_string (const _CharT *__s, const _Integer &__n) |
template<typename _CharT> const _CharT * | __check_string (const _CharT *__s) |
template<typename _InputIterator> bool | __check_sorted_aux (const _InputIterator &, const _InputIterator &, std::input_iterator_tag) |
template<typename _ForwardIterator> bool | __check_sorted_aux (_ForwardIterator __first, _ForwardIterator __last, std::forward_iterator_tag) |
template<typename _InputIterator, typename _Predicate> bool | __check_sorted_aux (const _InputIterator &, const _InputIterator &, _Predicate, std::input_iterator_tag) |
template<typename _ForwardIterator, typename _Predicate> bool | __check_sorted_aux (_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, std::forward_iterator_tag) |
template<typename _InputIterator> bool | __check_sorted (const _InputIterator &__first, const _InputIterator &__last) |
template<typename _InputIterator, typename _Predicate> bool | __check_sorted (const _InputIterator &__first, const _InputIterator &__last, _Predicate __pred) |
template<typename _ForwardIterator, typename _Tp> bool | __check_partitioned (_ForwardIterator __first, _ForwardIterator __last, const _Tp &__value) |
template<typename _ForwardIterator, typename _Tp, typename _Pred> bool | __check_partitioned (_ForwardIterator __first, _ForwardIterator __last, const _Tp &__value, _Pred __pred) |
bool | __check_singular_aux (const _Safe_iterator_base *__x) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator== (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator== (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator!= (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator!= (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator< (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator< (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator<= (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator<= (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator> (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator> (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> bool | operator>= (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> bool | operator>= (const _Safe_iterator< _Iterator, _Sequence > &__lhs, const _Safe_iterator< _Iterator, _Sequence > &__rhs) |
template<typename _IteratorL, typename _IteratorR, typename _Sequence> _Safe_iterator< _IteratorL, _Sequence >::difference_type | operator- (const _Safe_iterator< _IteratorL, _Sequence > &__lhs, const _Safe_iterator< _IteratorR, _Sequence > &__rhs) |
template<typename _Iterator, typename _Sequence> _Safe_iterator< _Iterator, _Sequence > | operator+ (typename _Safe_iterator< _Iterator, _Sequence >::difference_type __n, const _Safe_iterator< _Iterator, _Sequence > &__i) |
template<typename _CharT, typename _Traits, typename _Allocator> basic_string< _CharT, _Traits, _Allocator > | operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> basic_string< _CharT, _Traits, _Allocator > | operator+ (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> basic_string< _CharT, _Traits, _Allocator > | operator+ (_CharT __lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> basic_string< _CharT, _Traits, _Allocator > | operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> basic_string< _CharT, _Traits, _Allocator > | operator+ (const basic_string< _CharT, _Traits, _Allocator > &__lhs, _CharT __rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator== (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator== (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator== (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator!= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator!= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator!= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator< (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator< (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator< (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator<= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator<= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator<= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator>= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator>= (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator>= (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator> (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator> (const _CharT *__lhs, const basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> bool | operator> (const basic_string< _CharT, _Traits, _Allocator > &__lhs, const _CharT *__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> void | swap (basic_string< _CharT, _Traits, _Allocator > &__lhs, basic_string< _CharT, _Traits, _Allocator > &__rhs) |
template<typename _CharT, typename _Traits, typename _Allocator> std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const basic_string< _CharT, _Traits, _Allocator > &__str) |
template<typename _CharT, typename _Traits, typename _Allocator> std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str) |
template<typename _CharT, typename _Traits, typename _Allocator> std::basic_istream< _CharT, _Traits > & | getline (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str, _CharT __delim) |
template<typename _CharT, typename _Traits, typename _Allocator> std::basic_istream< _CharT, _Traits > & | getline (std::basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Allocator > &__str) |
|
Definition at line 64 of file formatter.h. |
|
Safe iterators know if they are singular. Definition at line 322 of file debug.h. References __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_dereferenceable(). |
|
Non-NULL pointers are dereferenceable. |
|
Assume that some arbitrary iterator is dereferenceable, because we can't prove that it isn't. |
|
|
|
|
|
Safe iterators know if they are singular. Definition at line 303 of file debug.h. References __gnu_debug::_Safe_iterator_base::_M_singular(). |
|
Non-NULL pointers are nonsingular. |
|
Definition at line 291 of file debug.h. References __check_singular_aux(). Referenced by __gnu_debug::_Error_formatter::_Parameter::_Parameter(). |
|
Iterators that derive from _Safe_iterator_base but that aren't _Safe_iterators can be determined singular or non-singular via _Safe_iterator_base. Definition at line 49 of file safe_iterator.h. References __gnu_debug::_Safe_iterator_base::_M_singular(). |
|
Definition at line 285 of file debug.h. Referenced by __check_singular(). |
|
Definition at line 488 of file debug.h. References __check_sorted_aux(). |
|
Definition at line 479 of file debug.h. References __check_sorted_aux(). |
|
|
|
|
|
|
|
Definition at line 426 of file debug.h. Referenced by __check_sorted(). |
|
Checks that __s is non-NULL and then returns __s. Definition at line 414 of file debug.h. References _GLIBCXX_DEBUG_ASSERT. |
|
Checks that __s is non-NULL or __n == 0, and then returns __s. Definition at line 403 of file debug.h. References _GLIBCXX_DEBUG_ASSERT. Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::basic_string(). |
|
Definition at line 393 of file debug.h. References _GLIBCXX_DEBUG_ASSERT. Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::basic_string(). |
|
Safe iterators know how to check if they form a valid range. Definition at line 383 of file debug.h. References __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_valid_range(). |
|
Don't know what these iterators are, or if they are even iterators (we may get an integral type for InputIterator), so see if they are integral and pass them on to the next phase otherwise. Definition at line 374 of file debug.h. References __valid_range_aux(). |
|
We have iterators, so figure out what kind of iterators that are to see if we can check the range ahead of time. Definition at line 359 of file debug.h. References __valid_range_aux2(). |
|
We say that integral types for a valid range, and defer to other routines to realize what to do with integral types instead of iterators. Definition at line 351 of file debug.h. Referenced by __valid_range(). |
|
Can't test for a valid range with input iterators, because iteration may be destructive. So we just assume that the range is valid. |
|
If the distance between two random access iterators is nonnegative, assume the range is valid. Definition at line 330 of file debug.h. Referenced by __valid_range_aux(). |
|
Definition at line 991 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and getline(). |
|
Definition at line 979 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). Referenced by getline(). |
|
Definition at line 851 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 842 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 836 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
|
|
Definition at line 806 of file debug/string. |
|
Definition at line 797 of file debug/string. References __glibcxx_check_string. |
|
Definition at line 791 of file debug/string. |
|
Definition at line 782 of file debug/string. References __glibcxx_check_string. |
|
Definition at line 776 of file debug/string. |
|
Definition at line 607 of file safe_iterator.h. |
|
|
Definition at line 875 of file debug/string. References __glibcxx_check_string. |
|
Definition at line 866 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 860 of file debug/string. |
|
Definition at line 475 of file safe_iterator.h. References __msg_iter_order_bad, __msg_order_different, and _GLIBCXX_DEBUG_VERIFY. |
|
Definition at line 459 of file safe_iterator.h. References __msg_iter_order_bad, __msg_order_different, and _GLIBCXX_DEBUG_VERIFY. |
|
Definition at line 963 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 899 of file debug/string. References __glibcxx_check_string. |
|
Definition at line 890 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 884 of file debug/string. |
|
Definition at line 507 of file safe_iterator.h. References __msg_iter_order_bad, __msg_order_different, and _GLIBCXX_DEBUG_VERIFY. |
|
Definition at line 491 of file safe_iterator.h. References __msg_iter_order_bad, __msg_order_different, and _GLIBCXX_DEBUG_VERIFY. |
|
Definition at line 827 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 818 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 812 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
|
|
Definition at line 947 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 938 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 932 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
|
|
Definition at line 923 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 914 of file debug/string. References __glibcxx_check_string, and __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
Definition at line 908 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(). |
|
|
|
Definition at line 969 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Definition at line 957 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::swap(). |