[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
Thu Mar 19 23:05:03 PDT 2026


================
@@ -58,6 +58,10 @@ Deprecations and Removals
 - ``__wrap_iter``'s (iterator type for ``array``, ``span``, ``string``, ``string_view`` and ``vector``) ``base()``
   method has been removed as it was non-standard.
 
+- Removed the non-standard member type ``iterator_type`` from ``__wrap_iter``.
+  This member exposed the underlying iterator type and its removal prevents
+  users from relying on the implementation detail.
----------------
23silicon wrote:

On a side note, I will squash commits to prepare it to merge. Does this make sense?

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


More information about the libcxx-commits mailing list