diff options
Diffstat (limited to 'Cython/Includes/libcpp/map.pxd')
-rw-r--r-- | Cython/Includes/libcpp/map.pxd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/map.pxd b/Cython/Includes/libcpp/map.pxd index 2f8238f14..d81af66e0 100644 --- a/Cython/Includes/libcpp/map.pxd +++ b/Cython/Includes/libcpp/map.pxd @@ -121,6 +121,8 @@ cdef extern from "<map>" namespace "std" nogil: iterator upper_bound(const T&) const_iterator const_upper_bound "upper_bound"(const T&) #value_compare value_comp() + # C++20 + bint contains(const T&) cdef cppclass multimap[T, U, COMPARE=*, ALLOCATOR=*]: ctypedef T key_type @@ -239,3 +241,4 @@ cdef extern from "<map>" namespace "std" nogil: iterator upper_bound(const T&) const_iterator const_upper_bound "upper_bound"(const T&) #value_compare value_comp() + bint contains(const T&) |