This will become useful when adding the debug mode to classes that
don't have a const_iterator, such as std::span.
Details
Details
- Reviewers
philnik - Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
How would it be useful? AFAICT you're not using __debug_iterator outside the class anywhere. Right now this only adds an indirection where none is needed.
Comment Actions
As I mention in the review summary, it's useful e.g. for std::span, which doesn't have const_iterator. I uploaded DD127401 to show the follow-up.
Comment Actions
Actually, upon making more progress on the successor to D127401, I'm not sure this will be relevant. Putting on the ice for now.