libstdc++
std::__detail::_Node_iterator< _Value, __constant_iterators, __cache > Struct Template Reference

#include <hashtable_policy.h>

Inheritance diagram for std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >:
[legend]

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
using pointer = typename std::conditional< __constant_iterators, const _Value *, _Value * >::type
 
using reference = typename std::conditional< __constant_iterators, const _Value &, _Value & >::type
 
typedef _Value value_type
 

Public Member Functions

 _Node_iterator (__node_type *__p) noexcept
 
void _M_incr () noexcept
 
reference operator* () const noexcept
 
_Node_iteratoroperator++ () noexcept
 
_Node_iterator operator++ (int) noexcept
 
pointer operator-> () const noexcept
 

Public Attributes

__node_type * _M_cur
 

Detailed Description

template<typename _Value, bool __constant_iterators, bool __cache>
struct std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >

Node iterators, used to iterate through all the hashtable.

Definition at line 318 of file hashtable_policy.h.

Member Typedef Documentation

◆ difference_type

template<typename _Value , bool __constant_iterators, bool __cache>
typedef std::ptrdiff_t std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::difference_type

Definition at line 327 of file hashtable_policy.h.

◆ iterator_category

template<typename _Value , bool __constant_iterators, bool __cache>
typedef std::forward_iterator_tag std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::iterator_category

Definition at line 328 of file hashtable_policy.h.

◆ pointer

template<typename _Value , bool __constant_iterators, bool __cache>
using std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::pointer = typename std::conditional<__constant_iterators, const _Value*, _Value*>::type

Definition at line 330 of file hashtable_policy.h.

◆ reference

template<typename _Value , bool __constant_iterators, bool __cache>
using std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::reference = typename std::conditional<__constant_iterators, const _Value&, _Value&>::type

Definition at line 333 of file hashtable_policy.h.

◆ value_type

template<typename _Value , bool __constant_iterators, bool __cache>
typedef _Value std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::value_type

Definition at line 326 of file hashtable_policy.h.

Constructor & Destructor Documentation

◆ _Node_iterator() [1/2]

template<typename _Value , bool __constant_iterators, bool __cache>
std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::_Node_iterator ( )
inlinenoexcept

Definition at line 336 of file hashtable_policy.h.

◆ _Node_iterator() [2/2]

template<typename _Value , bool __constant_iterators, bool __cache>
std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::_Node_iterator ( __node_type *  __p)
inlineexplicitnoexcept

Definition at line 340 of file hashtable_policy.h.

Member Function Documentation

◆ _M_incr()

void std::__detail::_Node_iterator_base< _Value, _Cache_hash_code >::_M_incr ( )
inlinenoexceptinherited

Definition at line 298 of file hashtable_policy.h.

◆ operator*()

template<typename _Value , bool __constant_iterators, bool __cache>
reference std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::operator* ( ) const
inlinenoexcept

Definition at line 344 of file hashtable_policy.h.

◆ operator++() [1/2]

template<typename _Value , bool __constant_iterators, bool __cache>
_Node_iterator & std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::operator++ ( )
inlinenoexcept

Definition at line 352 of file hashtable_policy.h.

◆ operator++() [2/2]

template<typename _Value , bool __constant_iterators, bool __cache>
_Node_iterator std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::operator++ ( int  )
inlinenoexcept

Definition at line 359 of file hashtable_policy.h.

◆ operator->()

template<typename _Value , bool __constant_iterators, bool __cache>
pointer std::__detail::_Node_iterator< _Value, __constant_iterators, __cache >::operator-> ( ) const
inlinenoexcept

Definition at line 348 of file hashtable_policy.h.

Member Data Documentation

◆ _M_cur

__node_type* std::__detail::_Node_iterator_base< _Value, _Cache_hash_code >::_M_cur
inherited

Definition at line 292 of file hashtable_policy.h.


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