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>

Base Classes

Type Aliases

Name

Description

_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

Name

Description

_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

Name

Description

_M_cur

Current node referenced by this iterator.

_M_ht

Hashtable that owns the referenced node.

Non-Member Functions

Name

Description

operator!=

Return true if the specified iterators refer to the same node.

operator==

Return true if the specified iterators refer to the same node.

Created with MrDocs