[libcxx-commits] [PATCH] D118400: [libc++] Remove operator-> from the iterator archetypes
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 27 11:57:09 PST 2022
ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
operator-> is basically never a requirement. This was previously used
as an easy way to get `std::to_address` to work for contiguous iterators,
however specializing `pointer_traits` is arguably a bit less invasive.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118400
Files:
libcxx/test/std/iterators/predef.iterators/iterators.common/arrow.pass.cpp
libcxx/test/std/iterators/predef.iterators/iterators.common/iterator_traits.compile.pass.cpp
libcxx/test/support/test_iterators.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118400.403742.patch
Type: text/x-patch
Size: 9802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220127/f56a50f8/attachment.bin>
More information about the libcxx-commits
mailing list