bsl::_Ht_iterator

Synopsis

Declared in <bslstp_hashtable.h>

template<
    class _Val,
    class _Traits,
    class _Key,
    class _HF,
    class _ExK,
    class _EqK,
    class _All>
struct _Ht_iterator
    : _Hashtable_iterator<_Val, _Key, _HF, _ExK, _EqK, _All>

Type Aliases

NameDescription
_Base Base iterator type.
_Hashtable Underlying hash table type for this iterator.
_Node Node type stored in the underlying hash table.
_Self This iterator type.
iterator_category forward_iterator_tag for this iterator type.
pointer Pointer type for iterator dereference.
reference Reference type for iterator dereference.
size_type Unsigned integral type used for sizes.
value_type Value type referenced by this iterator.

Member Functions

NameDescription
_Ht_iterator [constructor]Constructors
_M_skip_to_next Advance this iterator to the next element in the hashtable.
operator* Return a reference to the value referenced by this iterator.
operator++ Increment operators
operator-> Return a pointer to the value referenced by this iterator.

Data Members

NameDescription
_M_cur Current node referenced by this iterator.
_M_ht Hashtable that owns the referenced node.

Non-Member Functions

NameDescription
operator!=Return true if the specified iterators refer to the same node.
operator==Return true if the specified iterators refer to the same node.