[libcxx-commits] [libcxx] [libc++] Remove non-standard member type iterator_type from __wrap_iter (PR #186871)

Nikhil Kotikalapudi via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 18 06:28:10 PDT 2026


================
@@ -27,19 +27,18 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 template <class _Iter>
 class __wrap_iter {
 public:
-  typedef _Iter iterator_type;
-  typedef typename iterator_traits<iterator_type>::value_type value_type;
-  typedef typename iterator_traits<iterator_type>::difference_type difference_type;
-  typedef typename iterator_traits<iterator_type>::pointer pointer;
-  typedef typename iterator_traits<iterator_type>::reference reference;
-  typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
+  typedef typename iterator_traits<_Iter>::value_type value_type;
----------------
23silicon wrote:

Reverted the legacy headers

https://github.com/llvm/llvm-project/pull/186871


More information about the libcxx-commits mailing list