29#ifndef _GLIBCXX_DEBUG_SAFE_UNORDERED_CONTAINER_H
30#define _GLIBCXX_DEBUG_SAFE_UNORDERED_CONTAINER_H 1
57 template<
typename _Container>
63 {
return *
static_cast<_Container*
>(
this); }
67 _M_invalidate_locals()
69 auto __local_end = _M_cont()._M_base().cend(0);
71 [__local_end](__decltype(__local_end) __it)
72 {
return __it != __local_end; });
78 auto __end = _M_cont()._M_base().cend();
80 {
return __it != __end; });
81 _M_invalidate_locals();
88 template<
typename _Predicate>
96 template<
typename _Predicate>
GNU debug classes for public use.
Base class that supports tracking of local iterators that reference an unordered container.
Base class for constructing a safe unordered container type that tracks iterators that reference it.
void _M_invalidate_local_if(_Predicate __pred)
void _M_invalidate_if(_Predicate __pred)