Doxygen
|
bidirectional iterator More...
#include <src/growvector.h>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | difference_type = std::ptrdiff_t |
using | value_type = I |
using | pointer = I* |
using | reference = I& |
Public Member Functions | |
Iterator (C &vec, size_t pos) | |
reference | operator* () const |
pointer | operator-> () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator-- () |
Iterator | operator-- (int) |
Private Attributes | |
C * | m_vec |
size_t | m_pos |
Friends | |
bool | operator== (const Iterator &a, const Iterator &b) |
bool | operator!= (const Iterator &a, const Iterator &b) |
bidirectional iterator
Definition at line 55 of file growvector.h.
using GrowVector< T >::Iterator< C, I >::difference_type = std::ptrdiff_t |
Definition at line 59 of file growvector.h.
using GrowVector< T >::Iterator< C, I >::iterator_category = std::bidirectional_iterator_tag |
Definition at line 58 of file growvector.h.
using GrowVector< T >::Iterator< C, I >::pointer = I* |
Definition at line 61 of file growvector.h.
using GrowVector< T >::Iterator< C, I >::reference = I& |
Definition at line 62 of file growvector.h.
using GrowVector< T >::Iterator< C, I >::value_type = I |
Definition at line 60 of file growvector.h.
|
inline |
Definition at line 64 of file growvector.h.
Referenced by operator!=, operator++(), operator++(), operator--(), operator--(), and operator==.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 71 of file growvector.h.
References Iterator().
|
inline |
|
friend |
Definition at line 73 of file growvector.h.
References Iterator(), and m_pos.
|
friend |
Definition at line 72 of file growvector.h.
References Iterator(), and m_pos.
|
private |
Definition at line 77 of file growvector.h.
Referenced by Iterator(), operator!=, operator*(), operator++(), operator--(), operator->(), and operator==.
Definition at line 76 of file growvector.h.
Referenced by Iterator(), operator*(), and operator->().