summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/typeindex.pxd
blob: d5b7e9149fd57afe30f77e0302f4f301e8382c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from libcpp cimport bool
from .typeinfo cimport type_info

# This class is C++11-only
cdef extern from "<typeindex>" namespace "std" nogil:
    cdef cppclass type_index:
        type_index(const type_info &)
        const char* name()
        size_t hash_code()
        bool operator==(const type_index &)
        bool operator!=(const type_index &)
        bool operator<(const type_index &)
        bool operator<=(const type_index &)
        bool operator>(const type_index &)
        bool operator>=(const type_index &)