summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/unordered_set.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/libcpp/unordered_set.pxd')
-rw-r--r--Cython/Includes/libcpp/unordered_set.pxd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/unordered_set.pxd b/Cython/Includes/libcpp/unordered_set.pxd
index f3fdfb56e..6aae890d9 100644
--- a/Cython/Includes/libcpp/unordered_set.pxd
+++ b/Cython/Includes/libcpp/unordered_set.pxd
@@ -75,6 +75,8 @@ cdef extern from "<unordered_set>" 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_multiset[T,HASH=*,PRED=*,ALLOCATOR=*]:
ctypedef T value_type
@@ -146,3 +148,5 @@ cdef extern from "<unordered_set>" 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&)