1 cdef extern from "<list>" namespace "std":
7 iterator operator++() nogil
8 iterator operator--() nogil
9 bint operator==(iterator) nogil
10 bint operator!=(iterator) nogil
11 cppclass reverse_iterator:
13 reverse_iterator(iterator &)
15 reverse_iterator operator++() nogil
16 reverse_iterator operator--() nogil
17 bint operator==(reverse_iterator) nogil
18 bint operator!=(reverse_iterator) nogil
19 #cppclass const_iterator(iterator):
21 #cppclass const_reverse_iterator(reverse_iterator):
24 list(list&) nogil except +
25 list(size_t, T&) nogil except +
26 #list operator=(list&)
27 bint operator==(list&, list&) nogil
28 bint operator!=(list&, list&) nogil
29 bint operator<(list&, list&) nogil
30 bint operator>(list&, list&) nogil
31 bint operator<=(list&, list&) nogil
32 bint operator>=(list&, list&) nogil
33 void assign(size_t, T&) nogil
35 iterator begin() nogil
36 #const_iterator begin()
41 iterator erase(iterator) nogil
42 iterator erase(iterator, iterator) nogil
44 iterator insert(iterator, T&) nogil
45 void insert(iterator, size_t, T&) nogil
46 size_t max_size() nogil
47 void merge(list&) nogil
48 #void merge(list&, BinPred)
50 void pop_front() nogil
51 void push_back(T&) nogil
52 void push_front(T&) nogil
53 reverse_iterator rbegin() nogil
54 #const_reverse_iterator rbegin()
56 #void remove_if(UnPred)
57 reverse_iterator rend() nogil
58 #const_reverse_iterator rend()
59 void resize(size_t, T&) nogil
64 void splice(iterator, list&) nogil
65 void splice(iterator, list&, iterator) nogil
66 void splice(iterator, list&, iterator, iterator) nogil
67 void swap(list&) nogil