Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / cython / src / Cython / Includes / libcpp / list.pxd
blobad8eb08cb64db46d524d386139464acd090f3173
1 cdef extern from "<list>" namespace "std":
2     cdef cppclass list[T]:
3         cppclass iterator:
4             iterator()
5             iterator(iterator &)
6             T& operator*() nogil
7             iterator operator++() nogil
8             iterator operator--() nogil
9             bint operator==(iterator) nogil
10             bint operator!=(iterator) nogil
11         cppclass reverse_iterator:
12             reverse_iterator()
13             reverse_iterator(iterator &)
14             T& operator*() nogil
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):
20         #    pass
21         #cppclass const_reverse_iterator(reverse_iterator):
22         #    pass
23         list() nogil except +
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
34         T& back() nogil
35         iterator begin() nogil
36         #const_iterator begin()
37         void clear() nogil
38         bint empty() nogil
39         iterator end() nogil
40         #const_iterator end()
41         iterator erase(iterator) nogil
42         iterator erase(iterator, iterator) nogil
43         T& front() 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)
49         void pop_back() nogil
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()
55         void remove(T&) nogil
56         #void remove_if(UnPred)
57         reverse_iterator rend() nogil
58         #const_reverse_iterator rend()
59         void resize(size_t, T&) nogil
60         void reverse() nogil
61         size_t size() nogil
62         void sort() nogil
63         #void sort(BinPred)
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
68         void unique() nogil
69         #void unique(BinPred)