proxygen
|
#include <Enumerate.h>
Public Types | |
using | difference_type = ssize_t |
using | value_type = typename std::iterator_traits< Iterator >::value_type |
using | reference = typename std::iterator_traits< Iterator >::reference |
using | pointer = typename std::iterator_traits< Iterator >::pointer |
using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
FOLLY_ALWAYS_INLINE | Proxy (const Enumerator &e) |
FOLLY_ALWAYS_INLINE reference | operator* () |
FOLLY_ALWAYS_INLINE pointer | operator-> () |
FOLLY_ALWAYS_INLINE MakeConst< reference >::type | operator* () const |
FOLLY_ALWAYS_INLINE MakeConst< pointer >::type | operator-> () const |
Public Attributes | |
const size_t | index |
Private Attributes | |
const Iterator & | it_ |
Definition at line 83 of file Enumerate.h.
using folly::detail::Enumerator< Iterator >::Proxy::difference_type = ssize_t |
Definition at line 85 of file Enumerate.h.
using folly::detail::Enumerator< Iterator >::Proxy::iterator_category = std::input_iterator_tag |
Definition at line 89 of file Enumerate.h.
using folly::detail::Enumerator< Iterator >::Proxy::pointer = typename std::iterator_traits<Iterator>::pointer |
Definition at line 88 of file Enumerate.h.
using folly::detail::Enumerator< Iterator >::Proxy::reference = typename std::iterator_traits<Iterator>::reference |
Definition at line 87 of file Enumerate.h.
using folly::detail::Enumerator< Iterator >::Proxy::value_type = typename std::iterator_traits<Iterator>::value_type |
Definition at line 86 of file Enumerate.h.
|
inlineexplicit |
Definition at line 91 of file Enumerate.h.
|
inline |
Definition at line 95 of file Enumerate.h.
|
inline |
Definition at line 103 of file Enumerate.h.
|
inline |
Definition at line 98 of file Enumerate.h.
References folly::detail::getPointer().
|
inline |
Definition at line 106 of file Enumerate.h.
References folly::detail::getPointer().
const size_t folly::detail::Enumerator< Iterator >::Proxy::index |
Definition at line 114 of file Enumerate.h.
|
private |
Definition at line 111 of file Enumerate.h.