summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/set.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/libcpp/set.pxd')
-rw-r--r--Cython/Includes/libcpp/set.pxd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/set.pxd b/Cython/Includes/libcpp/set.pxd
index 8ba47cb7f..7e6449ca2 100644
--- a/Cython/Includes/libcpp/set.pxd
+++ b/Cython/Includes/libcpp/set.pxd
@@ -112,6 +112,8 @@ cdef extern from "<set>" 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 multiset[T]:
ctypedef T value_type
@@ -222,3 +224,5 @@ cdef extern from "<set>" namespace "std" nogil:
void swap(multiset&)
iterator upper_bound(const T&)
const_iterator const_upper_bound "upper_bound"(const T&)
+ # C++20
+ bint contains(const T&)