safe_iterator.h File Reference

Go to the source code of this file.

## Classes

struct | __gnu_debug::_BeforeBeginHelper< _Sequence >
class | __gnu_debug::_Safe_iterator< _Iterator, _Sequence, _Category >
struct | __gnu_debug::_Sequence_traits< _Sequence >

## Namespaces

namespace | __gnu_debug

## Macros

#define | _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_BEGIN
#define | _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_END
#define | _GLIBCXX_DEBUG_VERIFY_DIST_OPERANDS(_Lhs, _Rhs)
#define | _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS(_Lhs, _Rhs)
#define | _GLIBCXX_DEBUG_VERIFY_OPERANDS(_Lhs, _Rhs, _BadMsgId, _DiffMsgId)
#define | _GLIBCXX_DEBUG_VERIFY_REL_OPERANDS(_Lhs, _Rhs)

## Functions

template<typename _Iterator, typename _Sequence>
_Iterator | __gnu_debug::__base (const _Safe_iterator< _Iterator, _Sequence, std::random_access_iterator_tag > &__it)
template<typename _Iterator, typename _Sequence, typename _Category, typename _Size>
bool | __gnu_debug::__can_advance (const _Safe_iterator< _Iterator, _Sequence, _Category > &, _Size)
template<typename _Iterator, typename _Sequence, typename _Category, typename _Diff>
bool | __gnu_debug::__can_advance (const _Safe_iterator< _Iterator, _Sequence, _Category > &, const std::pair< _Diff, _Distance_precision > &, int)
template<typename _Iterator, typename _Sequence>
_Iterator | __gnu_debug::__unsafe (const _Safe_iterator< _Iterator, _Sequence > &__it)
template<typename _Iterator, typename _Sequence, typename _Category>
bool | __gnu_debug::__valid_range (const _Safe_iterator< _Iterator, _Sequence, _Category > &, const _Safe_iterator< _Iterator, _Sequence, _Category > &)
template<typename _Iterator, typename _Sequence, typename _Category>
bool | __gnu_debug::__valid_range (const _Safe_iterator< _Iterator, _Sequence, _Category > &, const _Safe_iterator< _Iterator, _Sequence, _Category > &, typename _Distance_traits< _Iterator >::__type &)

## Detailed Description

This file is a GNU debug extension to the Standard C++ Library.

Definition in file safe_iterator.h.

## Macro Definition Documentation

## _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_BEGIN

#define _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_BEGIN

Definition at line 75 of file safe_iterator.h.

## _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_END

#define _GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_END

Definition at line 76 of file safe_iterator.h.

## _GLIBCXX_DEBUG_VERIFY_DIST_OPERANDS

#define _GLIBCXX_DEBUG_VERIFY_DIST_OPERANDS | ( |  | _Lhs,
|  |  | _Rhs )

Definition at line 64 of file safe_iterator.h.

## _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS

#define _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS | ( |  | _Lhs,
|  |  | _Rhs )

Definition at line 56 of file safe_iterator.h.

## _GLIBCXX_DEBUG_VERIFY_OPERANDS

#define _GLIBCXX_DEBUG_VERIFY_OPERANDS | ( |  | _Lhs,
|  |  | _Rhs,
|  |  | _BadMsgId,
|  |  | _DiffMsgId )

Definition at line 42 of file safe_iterator.h.

## _GLIBCXX_DEBUG_VERIFY_REL_OPERANDS

#define _GLIBCXX_DEBUG_VERIFY_REL_OPERANDS | ( |  | _Lhs,
|  |  | _Rhs )

Definition at line 60 of file safe_iterator.h.