We plan to add concepts for checking that iterators actually provide what they claim to. This is to avoid people thinking that these type traits actually check the iterator requirements in more detail.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG80643d9366f4: [libc++][NFC] Rename iterator category checks to make it obvious that they…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM w/ comment.
libcxx/include/__iterator/iterator_traits.h | ||
---|---|---|
476 | Maybe __libcpp_is_contiguous_iterator instead? It doesn't imply anything about C++17 or whether we check for a specific category/concept. |
Maybe __libcpp_is_contiguous_iterator instead? It doesn't imply anything about C++17 or whether we check for a specific category/concept.