aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/33__split_buffer.patch
blob: 00742536123a88727777121d053a39d055a59cef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/include/__split_buffer b/include/__split_buffer
index 9565e16..dd789e8 100644
--- a/include/__split_buffer
+++ b/include/__split_buffer
@@ -107,6 +107,7 @@ public:
     _LIBCPP_INLINE_VISIBILITY void pop_front() {__destruct_at_begin(__begin_+1);}
     _LIBCPP_INLINE_VISIBILITY void pop_back() {__destruct_at_end(__end_-1);}
 
+    void __uninitialized_at_end(size_type __n);
     void __construct_at_end(size_type __n);
     void __construct_at_end(size_type __n, const_reference __x);
     template <class _InputIter>
@@ -197,6 +198,13 @@ __split_buffer<_Tp, _Allocator>::__invariants() const
     return true;
 }
 
+template <class _Tp, class _Allocator>
+void
+__split_buffer<_Tp, _Allocator>::__uninitialized_at_end(size_type __n)
+{
+    this->__end_ += __n;
+}
+
 //  Default constructs __n objects starting at __end_
 //  throws if construction throws
 //  Precondition:  __n > 0