Details
Details
- Reviewers
ldionne zoecarver Mordante - Group Reviewers
Restricted Project - Commits
- rGbf92bdad77a3: [libcxx][nfc] moves std `advance`, `next`, and `prev` into their headers
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm not a big fan of putting std::advance and std::ranges::advance in the same header - they are related but at the same time, they are fundamentally different things and have different dependencies. That's one reason why I preferred to split ranges:: things into <__ranges/XXXX.h> instead. But I guess this will do, we can adjust in the future if need be.
Comment Actions
Whatever we decide, it's better to keep <iterator> things inside __iterator/ wherever possible (i.e. we should probably do <__iterator/ranges/XXXX.h>, not <__ranges/XXXX.h>).