Commit 0d7a0c2b authored by Robert Bradshaw's avatar Robert Bradshaw

Update list.pxd

Bugs noticed by Ami Tavory.
parent 2d374af2
cdef extern from "<list>" namespace "std": cdef extern from "<list>" namespace "std":
cdef cppclass list[T]: cdef cppclass list[T]:
cppclass iterator: cppclass iterator:
iterator()
iterator(iterator &)
T& operator*() nogil T& operator*() nogil
iterator operator++() nogil iterator operator++() nogil
iterator operator--() nogil iterator operator--() nogil
bint operator==(iterator) nogil bint operator==(iterator) nogil
bint operator!=(iterator) nogil bint operator!=(iterator) nogil
cppclass reverse_iterator: cppclass reverse_iterator:
reverse_iterator()
reverse_iterator(iterator &)
T& operator*() nogil T& operator*() nogil
iterator operator++() nogil reverse_iterator operator++() nogil
iterator operator--() nogil reverse_iterator operator--() nogil
bint operator==(reverse_iterator) nogil bint operator==(reverse_iterator) nogil
bint operator!=(reverse_iterator) nogil bint operator!=(reverse_iterator) nogil
#cppclass const_iterator(iterator): #cppclass const_iterator(iterator):
......
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