[libcxx-commits] [PATCH] D150493: [libc++] Add concepts that ensure a given iterator meets the syntactic requirements
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 8 13:18:00 PDT 2023
philnik added inline comments.
================
Comment at: libcxx/include/__iterator/cpp17_iterator_concepts.h:69
+ __cpp17_copy_constructible<_Iter> && __cpp17_copy_assignable<_Iter> && __cpp17_destructible<_Iter> &&
+ (is_signed_v<__iter_diff_t<_Iter>> || is_void_v<__iter_diff_t<_Iter>>)&&requires(_Iter __iter) {
+ { *__iter };
----------------
ldionne wrote:
>
clang-format is doing this for some reason, and I don't really feel like adding a `// clang-format off` for this tiny nit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150493/new/
https://reviews.llvm.org/D150493
More information about the libcxx-commits
mailing list