summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/utility.pxd
blob: 532fc9af6be8b9c6fd9d67ecd457978561770dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cdef extern from "<utility>" namespace "std" nogil:
    cdef cppclass pair[T, U]:
        T first
        U second
        pair() except +
        pair(pair&) except +
        pair(T&, U&) except +
        bint operator==(pair&, pair&)
        bint operator!=(pair&, pair&)
        bint operator<(pair&, pair&)
        bint operator>(pair&, pair&)
        bint operator<=(pair&, pair&)
        bint operator>=(pair&, pair&)