[libcxx-commits] [libcxx] [libc++] Use __wrap_iter in string_view and array in the unstable ABI (PR #74482)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 5 08:14:15 PST 2023
================
@@ -168,10 +169,15 @@ struct _LIBCPP_TEMPLATE_VIS array
typedef _Tp value_type;
typedef value_type& reference;
typedef const value_type& const_reference;
- typedef value_type* iterator;
- typedef const value_type* const_iterator;
typedef value_type* pointer;
typedef const value_type* const_pointer;
+#if defined(_LIBCPP_ABI_USE_WRAP_ITER_IN_STD_ARRAY)
+ typedef __wrap_iter<pointer> iterator;
----------------
ldionne wrote:
I'll do it separately for all these aliases.
https://github.com/llvm/llvm-project/pull/74482
More information about the libcxx-commits
mailing list