@@ -139,7 +139,6 @@ public:
139
139
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference back () { return *(__end_ - 1 ); }
140
140
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference back () const { return *(__end_ - 1 ); }
141
141
142
- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void reserve (size_type __n);
143
142
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void shrink_to_fit () _NOEXCEPT;
144
143
145
144
template <class ... _Args>
@@ -153,9 +152,6 @@ public:
153
152
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end (size_type __n);
154
153
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end (size_type __n, const_reference __x);
155
154
156
- template <class _InputIter , __enable_if_t <__has_exactly_input_iterator_category<_InputIter>::value, int > = 0 >
157
- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end (_InputIter __first, _InputIter __last);
158
-
159
155
template <class _ForwardIterator , __enable_if_t <__has_forward_iterator_category<_ForwardIterator>::value, int > = 0 >
160
156
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
161
157
__construct_at_end (_ForwardIterator __first, _ForwardIterator __last);
@@ -260,13 +256,6 @@ __split_buffer<_Tp, _Allocator>::__construct_at_end(size_type __n, const_referen
260
256
}
261
257
}
262
258
263
- template <class _Tp , class _Allocator >
264
- template <class _InputIter , __enable_if_t <__has_exactly_input_iterator_category<_InputIter>::value, int > >
265
- _LIBCPP_CONSTEXPR_SINCE_CXX20 void
266
- __split_buffer<_Tp, _Allocator>::__construct_at_end(_InputIter __first, _InputIter __last) {
267
- __construct_at_end_with_sentinel (__first, __last);
268
- }
269
-
270
259
template <class _Tp , class _Allocator >
271
260
template <class _Iterator , class _Sentinel >
272
261
_LIBCPP_CONSTEXPR_SINCE_CXX20 void
@@ -414,18 +403,6 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::swap(__split
414
403
std::__swap_allocator (__alloc_, __x.__alloc_ );
415
404
}
416
405
417
- template <class _Tp , class _Allocator >
418
- _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::reserve(size_type __n) {
419
- if (__n < capacity ()) {
420
- __split_buffer<value_type, __alloc_rr&> __t (__n, 0 , __alloc_);
421
- __t .__construct_at_end (move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
422
- std::swap (__first_, __t .__first_ );
423
- std::swap (__begin_, __t .__begin_ );
424
- std::swap (__end_, __t .__end_ );
425
- std::swap (__end_cap_, __t .__end_cap_ );
426
- }
427
- }
428
-
429
406
template <class _Tp , class _Allocator >
430
407
_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT {
431
408
if (capacity () > size ()) {
0 commit comments