Commit b61367e0 authored by Alexis Mignon's avatar Alexis Mignon

Adding +/- operators for iterators

parent c0e70e4a
......@@ -4,6 +4,8 @@ cdef extern from "<vector>" namespace "std":
T& operator*() nogil
iterator operator++() nogil
iterator operator--() nogil
iterator operator+(size_t) nogil
iterator operator-(size_t) nogil
bint operator==(iterator) nogil
bint operator!=(iterator) nogil
bint operator<(iterator) nogil
......@@ -14,6 +16,8 @@ cdef extern from "<vector>" namespace "std":
T& operator*() nogil
iterator operator++() nogil
iterator operator--() nogil
iterator operator+(size_t) nogil
iterator operator-(size_t) nogil
bint operator==(reverse_iterator) nogil
bint operator!=(reverse_iterator) nogil
bint operator<(reverse_iterator) nogil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment