|
libstdc++
|
Public Types | |
| typedef _Allocator | allocator_type |
| typedef __gnu_debug::_Safe_iterator< _Base_const_iterator, list > | const_iterator |
| typedef _Base::const_pointer | const_pointer |
| typedef _Base::const_reference | const_reference |
| typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef _Base::difference_type | difference_type |
| typedef __gnu_debug::_Safe_iterator< _Base_iterator, list > | iterator |
| typedef _Base::pointer | pointer |
| typedef _Base::reference | reference |
| typedef std::reverse_iterator< iterator > | reverse_iterator |
| typedef _Base::size_type | size_type |
| typedef _Tp | value_type |
Public Member Functions | |
| list (_Base_ref __x) | |
| template<class _InputIterator , typename = std::_RequireInputIter<_InputIterator>> | |
| list (_InputIterator __first, _InputIterator __last, const _Allocator &__a=_Allocator()) | |
| list (const _Allocator &__a) noexcept | |
| list (const list &)=default | |
| list (const list &__x, const __type_identity_t< allocator_type > &__a) | |
| template<__detail::__container_compatible_range< _Tp > _Rg> | |
| list (from_range_t, _Rg &&__rg, const _Allocator &__a=_Allocator()) | |
| list (initializer_list< value_type > __l, const allocator_type &__a=allocator_type()) | |
| list (list &&)=default | |
| list (list &&__x, const __type_identity_t< allocator_type > &__a) noexcept(std::is_nothrow_constructible< _Base, _Base, const allocator_type & >::value) | |
| list (size_type __n, const __type_identity_t< _Tp > &__value, const _Allocator &__a=_Allocator()) | |
| list (size_type __n, const allocator_type &__a=allocator_type()) | |
| const _Base & | _M_base () const noexcept |
| _Base & | _M_base () noexcept |
| constexpr void | _M_invalidate_if (_Predicate __pred) const |
| void | _M_transfer_from_if (const _Safe_sequence &__from, _Predicate __pred) const |
| template<class _InputIterator , typename = std::_RequireInputIter<_InputIterator>> | |
| void | assign (_InputIterator __first, _InputIterator __last) |
| void | assign (initializer_list< value_type > __l) |
| void | assign (size_type __n, const _Tp &__t) |
| template<__detail::__container_compatible_range< _Tp > _Rg> | |
| void | assign_range (_Rg &&__rg) |
| const_reference | back () const noexcept |
| reference | back () noexcept |
| const_iterator | begin () const noexcept |
| iterator | begin () noexcept |
| const_iterator | cbegin () const noexcept |
| const_iterator | cend () const noexcept |
| void | clear () noexcept |
| const_reverse_iterator | crbegin () const noexcept |
| const_reverse_iterator | crend () const noexcept |
| template<typename... _Args> | |
| iterator | emplace (const_iterator __position, _Args &&... __args) |
| const_iterator | end () const noexcept |
| iterator | end () noexcept |
| iterator | erase (const_iterator __first, const_iterator __last) noexcept |
| iterator | erase (const_iterator __position) noexcept |
| const_reference | front () const noexcept |
| reference | front () noexcept |
| iterator | insert (const_iterator __p, initializer_list< value_type > __l) |
| template<class _InputIterator , typename = std::_RequireInputIter<_InputIterator>> | |
| iterator | insert (const_iterator __position, _InputIterator __first, _InputIterator __last) |
| iterator | insert (const_iterator __position, _Tp &&__x) |
| iterator | insert (const_iterator __position, const _Tp &__x) |
| iterator | insert (const_iterator __position, size_type __n, const _Tp &__x) |
| template<__detail::__container_compatible_range< _Tp > _Rg> | |
| iterator | insert_range (const_iterator __position, _Rg &&__rg) |
| void | merge (list &&__x) |
| template<class _Compare > | |
| void | merge (list &&__x, _Compare __comp) |
| void | merge (list &__x) |
| template<typename _Compare > | |
| void | merge (list &__x, _Compare __comp) |
| list & | operator= (const list &)=default |
| list & | operator= (initializer_list< value_type > __l) |
| list & | operator= (list &&)=default |
| void | pop_back () noexcept |
| void | pop_front () noexcept |
| const_reverse_iterator | rbegin () const noexcept |
| reverse_iterator | rbegin () noexcept |
| __remove_return_type | remove (const _Tp &__value) |
| template<class _Predicate > | |
| __remove_return_type | remove_if (_Predicate __pred) |
| const_reverse_iterator | rend () const noexcept |
| reverse_iterator | rend () noexcept |
| void | resize (size_type __sz) |
| void | resize (size_type __sz, const _Tp &__c) |
| void | sort () |
| template<typename _StrictWeakOrdering > | |
| void | sort (_StrictWeakOrdering __pred) |
| void | splice (const_iterator __position, list &&__x) noexcept |
| void | splice (const_iterator __position, list &&__x, const_iterator __first, const_iterator __last) noexcept |
| void | splice (const_iterator __position, list &&__x, const_iterator __i) noexcept |
| void | splice (const_iterator __position, list &__x) noexcept |
| void | splice (const_iterator __position, list &__x, const_iterator __first, const_iterator __last) noexcept |
| void | splice (const_iterator __position, list &__x, const_iterator __i) noexcept |
| void | swap (list &__x) noexcept(/*conditional */) |
| __remove_return_type | unique () |
| template<class _BinaryPredicate > | |
| __remove_return_type | unique (_BinaryPredicate __binary_pred) |
Public Attributes | |
| _Safe_iterator_base * | _M_const_iterators |
| _Safe_iterator_base * | _M_iterators |
| unsigned int | _M_version |
Protected Member Functions | |
| void | _M_detach_all () const |
| void | _M_detach_singular () const |
| __gnu_cxx::__mutex & | _M_get_mutex () const noexcept |
| constexpr void | _M_invalidate_all () const |
| void | _M_revalidate_singular () const |
| constexpr void | _M_swap (const _Safe_container &__x) const noexcept |
| void | _M_swap (const _Safe_sequence_base &__x) const noexcept |
Friends | |
| template<typename _ItT , typename _SeqT , typename _CatT > | |
| class | ::__gnu_debug::_Safe_iterator |
Class std::list with safety/checking/debug instrumentation.
Definition at line 52 of file debug/list.
| typedef _Allocator std::__debug::list< _Tp, _Allocator >::allocator_type |
Definition at line 93 of file debug/list.
| typedef __gnu_debug::_Safe_iterator<_Base_const_iterator, list> std::__debug::list< _Tp, _Allocator >::const_iterator |
Definition at line 87 of file debug/list.
| typedef _Base::const_pointer std::__debug::list< _Tp, _Allocator >::const_pointer |
Definition at line 95 of file debug/list.
| typedef _Base::const_reference std::__debug::list< _Tp, _Allocator >::const_reference |
Definition at line 82 of file debug/list.
| typedef std::reverse_iterator<const_iterator> std::__debug::list< _Tp, _Allocator >::const_reverse_iterator |
Definition at line 97 of file debug/list.
| typedef _Base::difference_type std::__debug::list< _Tp, _Allocator >::difference_type |
Definition at line 90 of file debug/list.
| typedef __gnu_debug::_Safe_iterator<_Base_iterator, list> std::__debug::list< _Tp, _Allocator >::iterator |
Definition at line 85 of file debug/list.
| typedef _Base::pointer std::__debug::list< _Tp, _Allocator >::pointer |
Definition at line 94 of file debug/list.
| typedef _Base::reference std::__debug::list< _Tp, _Allocator >::reference |
Definition at line 81 of file debug/list.
| typedef std::reverse_iterator<iterator> std::__debug::list< _Tp, _Allocator >::reverse_iterator |
Definition at line 96 of file debug/list.
| typedef _Base::size_type std::__debug::list< _Tp, _Allocator >::size_type |
Definition at line 89 of file debug/list.
| typedef _Tp std::__debug::list< _Tp, _Allocator >::value_type |
Definition at line 92 of file debug/list.
|
inline |
Definition at line 114 of file debug/list.
|
inline |
Definition at line 120 of file debug/list.
|
inlinenoexcept |
Definition at line 123 of file debug/list.
|
inlineexplicitnoexcept |
Definition at line 132 of file debug/list.
|
inlineexplicit |
Definition at line 137 of file debug/list.
|
inline |
Definition at line 140 of file debug/list.
|
inline |
Definition at line 156 of file debug/list.
|
inline |
Definition at line 165 of file debug/list.
|
inline |
Definition at line 170 of file debug/list.
|
inlinenoexcept |
Definition at line 959 of file debug/list.
|
inlinenoexcept |
Definition at line 956 of file debug/list.
|
protectedinherited |
Detach all iterators, leaving them singular.
Referenced by __gnu_debug::_Safe_sequence_base::~_Safe_sequence_base().
|
protectedinherited |
Detach all singular iterators.
|
protectednoexceptinherited |
For use in _Safe_sequence.
|
inlineconstexprprotectedinherited |
Definition at line 172 of file safe_sequence.h.
|
inlineconstexprinherited |
Invalidates all iterators x that reference this sequence, are not singular, and for which __pred(x) returns true. __pred will be invoked with the normal iterators nested in the safe ones.
Definition at line 124 of file safe_sequence.h.
|
protectedinherited |
Revalidates all attached singular iterators. This method may be used to validate iterators that were invalidated before (but for some reason, such as an exception, need to become valid again).
|
inlineconstexprprotectednoexceptinherited |
Definition at line 141 of file safe_container.h.
|
protectednoexceptinherited |
Swap this sequence with the given sequence. This operation also swaps ownership of the iterators, so that when the operation is complete all iterators that originally referenced one container now reference the other container.
|
inherited |
Transfers all iterators x that reference from sequence, are not singular, and for which __pred(x) returns true. __pred will be invoked with the normal iterators nested in the safe ones.
Definition at line 138 of file safe_sequence.tcc.
|
inline |
Definition at line 203 of file debug/list.
|
inline |
Definition at line 189 of file debug/list.
|
inline |
Definition at line 244 of file debug/list.
|
inline |
Definition at line 220 of file debug/list.
|
inlinenoexcept |
Definition at line 427 of file debug/list.
|
inlinenoexcept |
Definition at line 419 of file debug/list.
|
inlinenoexcept |
Definition at line 260 of file debug/list.
|
inlinenoexcept |
Definition at line 255 of file debug/list.
|
inlinenoexcept |
Definition at line 296 of file debug/list.
|
inlinenoexcept |
Definition at line 301 of file debug/list.
|
inlinenoexcept |
Definition at line 622 of file debug/list.
|
inlinenoexcept |
Definition at line 306 of file debug/list.
|
inlinenoexcept |
Definition at line 311 of file debug/list.
|
inline |
Definition at line 470 of file debug/list.
|
inlinenoexcept |
Definition at line 270 of file debug/list.
|
inlinenoexcept |
Definition at line 265 of file debug/list.
|
inlinenoexcept |
Definition at line 592 of file debug/list.
|
inlinenoexcept |
Definition at line 581 of file debug/list.
|
inlinenoexcept |
Definition at line 411 of file debug/list.
|
inlinenoexcept |
Definition at line 403 of file debug/list.
|
inline |
Definition at line 495 of file debug/list.
|
inline |
Definition at line 522 of file debug/list.
|
inline |
Definition at line 491 of file debug/list.
|
inline |
Definition at line 480 of file debug/list.
|
inline |
Definition at line 504 of file debug/list.
|
inline |
Definition at line 558 of file debug/list.
|
inline |
Definition at line 896 of file debug/list.
|
inline |
Definition at line 921 of file debug/list.
|
inline |
Definition at line 914 of file debug/list.
|
inline |
Definition at line 942 of file debug/list.
|
inline |
Definition at line 181 of file debug/list.
|
inlinenoexcept |
Definition at line 460 of file debug/list.
|
inlinenoexcept |
Definition at line 446 of file debug/list.
|
inlinenoexcept |
Definition at line 280 of file debug/list.
|
inlinenoexcept |
Definition at line 275 of file debug/list.
|
inline |
Definition at line 745 of file debug/list.
|
inline |
Definition at line 784 of file debug/list.
|
inlinenoexcept |
Definition at line 290 of file debug/list.
|
inlinenoexcept |
Definition at line 285 of file debug/list.
|
inline |
Definition at line 322 of file debug/list.
|
inline |
Definition at line 348 of file debug/list.
|
inline |
Definition at line 947 of file debug/list.
|
inline |
Definition at line 951 of file debug/list.
|
inlinenoexcept |
Definition at line 631 of file debug/list.
|
inlinenoexcept |
Definition at line 683 of file debug/list.
|
inlinenoexcept |
Definition at line 651 of file debug/list.
|
inlinenoexcept |
Definition at line 645 of file debug/list.
|
inlinenoexcept |
Definition at line 725 of file debug/list.
|
inlinenoexcept |
Definition at line 677 of file debug/list.
|
inlinenoexcept |
Definition at line 614 of file debug/list.
|
inline |
Definition at line 818 of file debug/list.
|
inline |
Definition at line 855 of file debug/list.
|
friend |
Definition at line 68 of file debug/list.
|
mutableinherited |
The list of constant iterators that reference this container.
Definition at line 227 of file safe_base.h.
|
mutableinherited |
The list of mutable iterators that reference this container.
Definition at line 224 of file safe_base.h.
|
mutableinherited |
The container version number. This number may never be 0.
Definition at line 230 of file safe_base.h.
Referenced by __gnu_debug::_Safe_sequence_base::_M_invalidate_all().