[libcxx-commits] [libcxx] 15a138a - [libc++][NFC] Remove duplicate declaration of __iter_value_type
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 10 14:28:45 PDT 2023
Author: Louis Dionne
Date: 2023-05-10T17:28:15-04:00
New Revision: 15a138acff220d4d25dd8606f588a1522a045e23
URL: https://github.com/llvm/llvm-project/commit/15a138acff220d4d25dd8606f588a1522a045e23
DIFF: https://github.com/llvm/llvm-project/commit/15a138acff220d4d25dd8606f588a1522a045e23.diff
LOG: [libc++][NFC] Remove duplicate declaration of __iter_value_type
The exact same declaration exists a few lines above.
Added:
Modified:
libcxx/include/__iterator/iterator_traits.h
Removed:
################################################################################
diff --git a/libcxx/include/__iterator/iterator_traits.h b/libcxx/include/__iterator/iterator_traits.h
index f066b962e7a54..c0b8dd037544f 100644
--- a/libcxx/include/__iterator/iterator_traits.h
+++ b/libcxx/include/__iterator/iterator_traits.h
@@ -531,9 +531,6 @@ using __iterator_pointer_type = typename iterator_traits<_Iter>::pointer;
template <class _Iter>
using __iter_
diff _t = typename iterator_traits<_Iter>::
diff erence_type;
-template<class _InputIterator>
-using __iter_value_type = typename iterator_traits<_InputIterator>::value_type;
-
template <class _Iter>
using __iter_reference = typename iterator_traits<_Iter>::reference;
More information about the libcxx-commits
mailing list