• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bemanproject / utf_view / 19123895901 / 1
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 03:33AM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2025 03:32AM UTC coverage: 97.222% (+0.006%) from 97.216%
19123895901.1

push

github

ednolan
Fix operator== for input iterators

For forward iterators, the position of base() is at the start of the
current code point. For input iterators, it's immediately after the
end of the current code point.

For forward iterators, checking whether we're at the end is simple,
because we can just check whether base() is equal to end().

For input iterators, if base() is equal to end(), we may still be in
the middle of the code point immediately preceding end().

The old way of discriminating whether we were past the last code point
was checking if buf_index_ was equal to buf_.size(). However, this
isn't viable because we might want to construct a transcoding iterator
at the end by passing in an input iterator at the end of the sequence
and then we have no information about what buf_.size() would be if we
had processed the last code point.

So we instead need some kind of at-the-end sentinel in the input case,
which we achieve by setting buf_index_ to -1.

420 of 432 relevant lines covered (97.22%)

198.74 hits per line

Source Files on job 19123895901.1
  • Tree
  • List 4
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19123895901
  • 6973e799 on github
  • Prev Job for on main (#19123326615.1)
  • Next Job for on main (#19141682241.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc