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

steve-downey / overload / 38845752016
67%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2026 03:31AM 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

16 Oct 2026 03:29AM UTC coverage: 67.391%. Remained the same
38845752016

push

github

steve-downey
Transcribe the step order of [temp.deduct.general]/5

Overload/Steps.lean gives deduction for a function template as one
function per sentence, composed on Subst so the first failure stands:
explicit arguments (/2), deduction from the call, defaults substituted
with the preceding arguments, the template parameter list, constraints,
non-dependent parameter conversions, and the function type. `form` is the
immediate context: pointer to reference and cv on a reference are decided
here, and a `Ty.lookup`, a separately instantiated construct, is handed
to the environment, whose failure is hard. `Env` is the oracle of the
expression-depth decision and carries its assumption tag.

Theorems, all audited: a hard error while substituting a default is the
outcome of deduction; a requires-clause on the same template cannot guard
it; a constraint failure shields everything after it; and deduction is
hard exactly when the first failing step is.

The paragraph's two examples and the example of /8 reproduce in Lean
(OverloadTest/Steps.lean) and are emitted as C++; so are the step-order
hazard in its hard, guarded and soft forms. Two compiler disagreements
are filed in docs/findings.md and listed as known: GCC compiles the
hazard (P3606), and Clang 18 rejects the draft's own example because it
checks conversions before constraints, the pre-CWG2369 order.

Constraints get a minimal module with satisfaction and the short-circuit
rules of [temp.constr.op]; function templates become a structure with
default function arguments, a return type and a constraint; deduceCall
treats a parameter with no argument as non-deduced.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fh4shuueJZ4uzMSi65oQca

31 of 46 relevant lines covered (67.39%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38845752016.1 16 Oct 2026 03:31AM UTC 4
67.39
GitHub Action Run
Source Files on build 38845752016
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38845752016
  • 44ad0321 on github
  • Prev Build on main (#38844413401)
  • Next Build on main (#38982185800)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc