diff options
author | Valentin Valls <valentin.valls@esrf.fr> | 2018-04-20 15:55:27 +0200 |
---|---|---|
committer | Valentin Valls <valentin.valls@esrf.fr> | 2018-04-20 16:00:59 +0200 |
commit | ce9d176535bd4948cd63bfa3982314754a422edd (patch) | |
tree | 98bc5d5f59d685eba7533461837808c1c8d215c5 /Cython/Includes/libcpp | |
parent | 2e8a619272d0cf11e61f6867bf8f099e35ceea1f (diff) | |
download | cython-ce9d176535bd4948cd63bfa3982314754a422edd.tar.gz |
Add const_at to unordered map
Diffstat (limited to 'Cython/Includes/libcpp')
-rw-r--r-- | Cython/Includes/libcpp/unordered_map.pxd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cython/Includes/libcpp/unordered_map.pxd b/Cython/Includes/libcpp/unordered_map.pxd index a63d32e8a..329c1cefd 100644 --- a/Cython/Includes/libcpp/unordered_map.pxd +++ b/Cython/Includes/libcpp/unordered_map.pxd @@ -32,7 +32,8 @@ cdef extern from "<unordered_map>" namespace "std" nogil: bint operator>(unordered_map&, unordered_map&) bint operator<=(unordered_map&, unordered_map&) bint operator>=(unordered_map&, unordered_map&) - U& at(T&) + U& at(const T&) + const U& const_at "at"(const T&) iterator begin() const_iterator const_begin "begin"() void clear() |