@@ -139,7 +139,6 @@ public:
139139 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference back () { return *(__end_ - 1 ); }
140140 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference back () const { return *(__end_ - 1 ); }
141141
142- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void reserve (size_type __n);
143142 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void shrink_to_fit () _NOEXCEPT;
144143
145144 template <class ... _Args>
@@ -153,9 +152,6 @@ public:
153152 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end (size_type __n);
154153 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end (size_type __n, const_reference __x);
155154
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-
159155 template <class _ForwardIterator , __enable_if_t <__has_forward_iterator_category<_ForwardIterator>::value, int > = 0 >
160156 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
161157 __construct_at_end (_ForwardIterator __first, _ForwardIterator __last);
@@ -260,13 +256,6 @@ __split_buffer<_Tp, _Allocator>::__construct_at_end(size_type __n, const_referen
260256 }
261257}
262258
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-
270259template <class _Tp , class _Allocator >
271260template <class _Iterator , class _Sentinel >
272261_LIBCPP_CONSTEXPR_SINCE_CXX20 void
@@ -414,18 +403,6 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::swap(__split
414403 std::__swap_allocator (__alloc_, __x.__alloc_ );
415404}
416405
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-
429406template <class _Tp , class _Allocator >
430407_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT {
431408 if (capacity () > size ()) {
0 commit comments