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

bemanproject / utf_view / 19123895901
97%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 03:33AM UTC
Jobs 1
Files 4
Run time 1min
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

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.

5 of 5 new or added lines in 1 file covered. (100.0%)

420 of 432 relevant lines covered (97.22%)

198.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19123895901.1 06 Nov 2025 03:33AM UTC 4
97.22
GitHub Action Run
Source Files on build 19123895901
  • Tree
  • List 4
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19123895901
  • 6973e799 on github
  • Prev Build on main (#19123326615)
  • Next Build on main (#19141682241)
  • 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

© 2025 Coveralls, Inc