libstdc++
__gnu_debug::_Safe_forward_list< _SafeSequence > Class Template Reference
Inheritance diagram for __gnu_debug::_Safe_forward_list< _SafeSequence >:
[legend]

Public Member Functions

constexpr void _M_invalidate_if (_Predicate __pred) const
 
void _M_transfer_from_if (const _Safe_sequence &__from, _Predicate __pred) const
 

Protected Member Functions

void _M_invalidate_all () const
 
void _M_swap (const _Safe_forward_list &) const noexcept
 

Detailed Description

template<typename _SafeSequence>
class __gnu_debug::_Safe_forward_list< _SafeSequence >

Special iterators swap and invalidation for forward_list because of the before_begin iterator.

Definition at line 58 of file debug/forward_list.

Member Function Documentation

◆ _M_invalidate_if()

constexpr void __gnu_debug::_Safe_sequence< _SafeSequence >::_M_invalidate_if ( _Predicate  __pred) const
constexprinherited

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 38 of file safe_sequence.tcc.

◆ _M_transfer_from_if()

void __gnu_debug::_Safe_sequence< _SafeSequence >::_M_transfer_from_if ( const _Safe_sequence< _SafeSequence > &  __from,
_Predicate  __pred 
) const
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 72 of file safe_sequence.tcc.


The documentation for this class was generated from the following file: