lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Public Member Functions | Friends
lean::containers::simple_hash_map< Key, Element, Policy, Hash, KeyValues, Pred, Allocator >::basic_iterator< Element > Class Template Reference

Simple hash map iterator class. More...

#include <simple_hash_map.h>

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
 Iterator category.
typedef
simple_hash_map::difference_type 
difference_type
 Type of the difference between the addresses of two elements in this hash map.
typedef Element value_type
 Type of the values iterated.
typedef value_typereference
 Type of references to the values iterated.
typedef value_typepointer
 Type of pointers to the values iterated.

Public Member Functions

LEAN_INLINE reference operator* () const
 Gets the current element.
LEAN_INLINE pointer operator-> () const
 Gets the current element.
LEAN_INLINE basic_iteratoroperator++ ()
 Continues iteration.
LEAN_INLINE basic_iterator operator++ (int)
 Continues iteration.
LEAN_INLINE bool operator== (const basic_iterator &right) const
 Comparison operator.
LEAN_INLINE bool operator!= (const basic_iterator &right) const
 Comparison operator.

Friends

class simple_hash_map

Detailed Description

template<class Key, class Element, class Policy = simple_hash_map_policies::nonpod, class Hash = hash<Key>, class KeyValues = default_keys<Key>, class Pred = std::equal_to<Key>, class Allocator = std::allocator<Element>>
template<class Element>
class lean::containers::simple_hash_map< Key, Element, Policy, Hash, KeyValues, Pred, Allocator >::basic_iterator< Element >

Simple hash map iterator class.


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