Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions | Data Fields | Friends
ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::templated_iterator< ValueType > Struct Template Reference

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = ValueType
 
using difference_type = ptrdiff_t
 
using pointer = ValueType *
 
using reference = ValueType &
 

Public Member Functions

 templated_iterator (EntryPointer current)
 
templated_iteratoroperator++ ()
 
templated_iterator operator++ (int)
 
ValueType & operator* () const
 
ValueType * operator-> () const
 
template<class target_type = const value_type, class = typename std::enable_if<std::is_same<target_type, const value_type>::value && !std::is_same<target_type, value_type>::value>::type>
 operator templated_iterator< target_type > () const
 

Data Fields

EntryPointer current = EntryPointer()
 

Friends

bool operator== (const templated_iterator &lhs, const templated_iterator &rhs)
 
bool operator!= (const templated_iterator &lhs, const templated_iterator &rhs)
 

Detailed Description

template<typename T, typename FindKey, typename ArgumentHash, typename Hasher, typename ArgumentEqual, typename Equal, typename ArgumentAlloc, typename EntryAlloc>
template<typename ValueType>
struct ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::templated_iterator< ValueType >

Definition at line 461 of file flat_hash_map.h.


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