diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/cxxsupp/libcxx/include/vector | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/vector')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/vector | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/vector b/contrib/libs/cxxsupp/libcxx/include/vector index c02253c751..c04259679e 100644 --- a/contrib/libs/cxxsupp/libcxx/include/vector +++ b/contrib/libs/cxxsupp/libcxx/include/vector @@ -492,7 +492,7 @@ public: typedef typename __base::difference_type difference_type; typedef typename __base::pointer pointer; typedef typename __base::const_pointer const_pointer; -#if _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS == 1 +#if _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS == 1 typedef typename __base::pointer iterator; typedef typename __base::const_pointer const_iterator; #else @@ -788,10 +788,10 @@ public: __invalidate_all_iterators(); } -#if _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED +#if _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED void resize_uninitialized(size_type __sz); -#endif - +#endif + void resize(size_type __sz); void resize(size_type __sz, const_reference __x); @@ -2057,8 +2057,8 @@ vector<_Tp, _Allocator>::insert(const_iterator __position, _ForwardIterator __fi return __make_iter(__p); } -#if _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED - +#if _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED + template <class _Tp, class _Allocator> void vector<_Tp, _Allocator>::resize_uninitialized(size_type __sz) @@ -2072,8 +2072,8 @@ vector<_Tp, _Allocator>::resize_uninitialized(size_type __sz) } } -#endif - +#endif + template <class _Tp, class _Allocator> void vector<_Tp, _Allocator>::resize(size_type __sz) @@ -2207,7 +2207,7 @@ vector<_Tp, _Allocator>::__invalidate_iterators_past(pointer __new_last) { #endif } -#if _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION == 1 +#if _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION == 1 // vector<bool> template <class _Allocator> class vector<bool, _Allocator>; @@ -3390,7 +3390,7 @@ struct _LIBCPP_TEMPLATE_VIS hash<vector<bool, _Allocator> > size_t operator()(const vector<bool, _Allocator>& __vec) const _NOEXCEPT {return __vec.__hash_code();} }; -#endif // _YNDX_LIBCXX_DISABLE_VECTOR_BOOL_COMPRESSION +#endif // _YNDX_LIBCXX_DISABLE_VECTOR_BOOL_COMPRESSION template <class _Tp, class _Allocator> inline _LIBCPP_INLINE_VISIBILITY |