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 /util/generic/vector.pxd | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/vector.pxd')
-rw-r--r-- | util/generic/vector.pxd | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/util/generic/vector.pxd b/util/generic/vector.pxd index 99dde95d48..aa686bccc6 100644 --- a/util/generic/vector.pxd +++ b/util/generic/vector.pxd @@ -26,11 +26,11 @@ cdef extern from "<util/generic/vector.h>" nogil: bint operator<=(reverse_iterator) bint operator>=(reverse_iterator) - cppclass const_iterator(iterator): - pass + cppclass const_iterator(iterator): + pass - cppclass const_reverse_iterator(reverse_iterator): - pass + cppclass const_reverse_iterator(reverse_iterator): + pass TVector() except + TVector(TVector&) except + @@ -45,39 +45,39 @@ cdef extern from "<util/generic/vector.h>" nogil: bint operator>=(TVector&) void assign(size_t, const T&) except + - void assign[input_iterator](input_iterator, input_iterator) except + + void assign[input_iterator](input_iterator, input_iterator) except + - T& at(size_t) except + + T& at(size_t) except + T& operator[](size_t) T& back() iterator begin() - const_iterator const_begin "begin"() + const_iterator const_begin "begin"() size_t capacity() void clear() except + bint empty() iterator end() - const_iterator const_end "end"() + const_iterator const_end "end"() iterator erase(iterator) except + iterator erase(iterator, iterator) except + T& front() - iterator insert(iterator, const T&) except + - void insert(iterator, size_t, const T&) except + - void insert[Iter](iterator, Iter, Iter) except + + iterator insert(iterator, const T&) except + + void insert(iterator, size_t, const T&) except + + void insert[Iter](iterator, Iter, Iter) except + size_t max_size() void pop_back() except + - void push_back(T&) except + + void push_back(T&) except + void emplace_back(...) except + 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"() void reserve(size_t) except + - void resize(size_t) except + - void resize(size_t, T&) except + + void resize(size_t) except + + void resize(size_t, T&) except + size_t size() void swap(TVector&) except + - - # C++11 methods + + # C++11 methods T* data() void shrink_to_fit() except + |