diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/tools/cython/Cython/Includes/libcpp/set.pxd | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libcpp/set.pxd')
-rw-r--r-- | contrib/tools/cython/Cython/Includes/libcpp/set.pxd | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libcpp/set.pxd b/contrib/tools/cython/Cython/Includes/libcpp/set.pxd index 1069be7466..2de86db1ea 100644 --- a/contrib/tools/cython/Cython/Includes/libcpp/set.pxd +++ b/contrib/tools/cython/Cython/Includes/libcpp/set.pxd @@ -2,7 +2,7 @@ from .utility cimport pair cdef extern from "<set>" namespace "std" nogil: cdef cppclass set[T]: - ctypedef T value_type + ctypedef T value_type cppclass iterator: T& operator*() iterator operator++() @@ -15,10 +15,10 @@ cdef extern from "<set>" namespace "std" nogil: iterator operator--() bint operator==(reverse_iterator) bint operator!=(reverse_iterator) - cppclass const_iterator(iterator): - pass - cppclass const_reverse_iterator(reverse_iterator): - pass + cppclass const_iterator(iterator): + pass + cppclass const_reverse_iterator(reverse_iterator): + pass set() except + set(set&) except + #set(key_compare&) @@ -30,32 +30,32 @@ cdef extern from "<set>" namespace "std" nogil: bint operator<=(set&, set&) bint operator>=(set&, set&) iterator begin() - const_iterator const_begin "begin"() + const_iterator const_begin "begin"() void clear() - size_t count(const T&) + size_t count(const T&) bint empty() iterator end() - const_iterator const_end "end"() - pair[iterator, iterator] equal_range(const T&) + const_iterator const_end "end"() + pair[iterator, iterator] equal_range(const T&) #pair[const_iterator, const_iterator] equal_range(T&) - iterator erase(iterator) - iterator erase(iterator, iterator) + iterator erase(iterator) + iterator erase(iterator, iterator) size_t erase(T&) iterator find(T&) - const_iterator const_find "find"(T&) - pair[iterator, bint] insert(const T&) except + - iterator insert(iterator, const T&) except + - void insert(iterator, iterator) except + + const_iterator const_find "find"(T&) + pair[iterator, bint] insert(const T&) except + + iterator insert(iterator, const T&) except + + void insert(iterator, iterator) except + #key_compare key_comp() iterator lower_bound(T&) - const_iterator const_lower_bound "lower_bound"(T&) + const_iterator const_lower_bound "lower_bound"(T&) size_t max_size() reverse_iterator rbegin() - const_reverse_iterator const_rbegin "rbegin"() + const_reverse_iterator const_rbegin "rbegin"() reverse_iterator rend() - const_reverse_iterator const_rend "rend"() + const_reverse_iterator const_rend "rend"() size_t size() void swap(set&) - iterator upper_bound(const T&) - const_iterator const_upper_bound "upper_bound"(const T&) + iterator upper_bound(const T&) + const_iterator const_upper_bound "upper_bound"(const T&) #value_compare value_comp() |