[libcxx-commits] [libcxx] 0d0bd17 - [libc++] Fix __split_buffer::__construct_at_end definition to match declaration

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 5 01:19:31 PDT 2022


Author: Nikolas Klauser
Date: 2022-07-05T10:19:21+02:00
New Revision: 0d0bd17fcfbd40b0cbb72ce0c59d2491d5da0bca

URL: https://github.com/llvm/llvm-project/commit/0d0bd17fcfbd40b0cbb72ce0c59d2491d5da0bca
DIFF: https://github.com/llvm/llvm-project/commit/0d0bd17fcfbd40b0cbb72ce0c59d2491d5da0bca.diff

LOG: [libc++] Fix __split_buffer::__construct_at_end definition to match declaration

Added: 
    

Modified: 
    libcxx/include/__split_buffer

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer
index eb78c9c4c0ac..7409b51b1f96 100644
--- a/libcxx/include/__split_buffer
+++ b/libcxx/include/__split_buffer
@@ -230,7 +230,7 @@ __split_buffer<_Tp, _Allocator>::__construct_at_end(size_type __n, const_referen
 
 template <class _Tp, class _Allocator>
 template <class _InputIter>
-__enable_if_t<__is_cpp17_input_iterator<_InputIter>::value && !__is_cpp17_forward_iterator<_InputIter>::value>
+__enable_if_t<__is_exactly_cpp17_input_iterator<_InputIter>::value>
 __split_buffer<_Tp, _Allocator>::__construct_at_end(_InputIter __first, _InputIter __last)
 {
     __alloc_rr& __a = this->__alloc();


        


More information about the libcxx-commits mailing list