summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/unordered_map.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/libcpp/unordered_map.pxd')
-rw-r--r--Cython/Includes/libcpp/unordered_map.pxd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/unordered_map.pxd b/Cython/Includes/libcpp/unordered_map.pxd
index 05f3338fa..61d11b0be 100644
--- a/Cython/Includes/libcpp/unordered_map.pxd
+++ b/Cython/Includes/libcpp/unordered_map.pxd
@@ -95,6 +95,8 @@ cdef extern from "<unordered_map>" namespace "std" nogil:
size_t max_bucket_count()
size_t bucket_size(size_t)
size_t bucket(const T&)
+ # C++20
+ bint contains(const T&)
cdef cppclass unordered_multimap[T, U, HASH=*, PRED=*, ALLOCATOR=*]:
ctypedef T key_type
@@ -186,3 +188,5 @@ cdef extern from "<unordered_map>" namespace "std" nogil:
size_t max_bucket_count()
size_t bucket_size(size_t)
size_t bucket(const T&)
+ # C++20
+ bint contains(const T&)