Mark LWG3420 as complete. Currently, the cpp17_iterator concept
checks that the type looks like an iterator first before checking if it
is copyable.
Details
- Reviewers
ldionne • Quuxplusone Mordante - Group Reviewers
Restricted Project - Commits
- rGca889733a227: [libc++][docs] Mark LWG3420 complete
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Confirmed, we already implement the resolution here. LGTM! (Please wait for a second libc++ approver before landing.)
LGTM, but can you confirm we have a test for that? Also, the commit you linked to isn't the right one, 120fa8293e22f760374a5757d081dc674046e0f0 is just moving stuff around. You should fix the commit message.
libcxx/docs/Status/Cxx2bIssues.csv | ||
---|---|---|
26–27 | Also, this wasn't done in LLVM 11 since we didn't implement concepts then, 14 is when we'll ship them for the first time. |
__cpp17_iterator seems to get used pretty heavily in libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp. Is this what you had in mind or something more specific?
libcxx/docs/Status/Cxx2bIssues.csv | ||
---|---|---|
26–27 | Fixed, thanks! |
@ldionne I just landed this, but if you think of a test you'd like to see (beyond what we have now), let me know.
Also, this wasn't done in LLVM 11 since we didn't implement concepts then, 14 is when we'll ship them for the first time.