STL iterator template used for tuple, list, sequence and dict. More...
#include <pytypes.h>
Public Types | |
using | difference_type = ssize_t |
using | iterator_category = typename Policy::iterator_category |
using | pointer = typename Policy::pointer |
using | reference = typename Policy::reference |
using | value_type = typename Policy::value_type |
Public Member Functions | |
generic_iterator ()=default | |
generic_iterator (handle seq, ssize_t index) | |
reference | operator* () const |
It & | operator++ () |
It | operator++ (int) |
It & | operator+= (difference_type n) |
It & | operator-- () |
It | operator-- (int) |
It & | operator-= (difference_type n) |
pointer | operator-> () const |
reference | operator[] (difference_type n) const |
Private Types | |
using | It = generic_iterator |
Friends | |
bool | operator!= (const It &a, const It &b) |
It | operator+ (const It &a, difference_type n) |
It | operator+ (difference_type n, const It &b) |
difference_type | operator- (const It &a, const It &b) |
It | operator- (const It &a, difference_type n) |
bool | operator< (const It &a, const It &b) |
bool | operator<= (const It &a, const It &b) |
bool | operator== (const It &a, const It &b) |
bool | operator> (const It &a, const It &b) |
bool | operator>= (const It &a, const It &b) |
STL iterator template used for tuple, list, sequence and dict.
using generic_iterator< Policy >::difference_type = ssize_t |
|
private |
using generic_iterator< Policy >::iterator_category = typename Policy::iterator_category |
using generic_iterator< Policy >::pointer = typename Policy::pointer |
using generic_iterator< Policy >::reference = typename Policy::reference |
using generic_iterator< Policy >::value_type = typename Policy::value_type |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |