ForwardIter() - ForwardIter() returns ptrdiff_t, and converting it
to an unsigned type isn't guaranteed to produce the same type as
size_t.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG17e6bd8070bb: [libc++][ranges] Fix incorrect integer type in `view_interface` tests.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp | ||
---|---|---|
237–240 | Please let me know if you think this line is overkill. |
Comment Actions
Thanks!
libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp | ||
---|---|---|
237–240 | I would add a comment that says something like // test the test. |
Please let me know if you think this line is overkill.