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

steve-downey / variant / 33764112878
95%

Build:
DEFAULT BRANCH: main
Ran 03 Sep 2026 02:00PM UTC
Jobs 1
Files 1
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

03 Sep 2026 01:58PM UTC coverage: 94.737%. First build
33764112878

push

github

claude
Add reference-alternative variant: PoC implementation, tests, decision log

Replace the template's todo placeholders with the variant<T&>
feasibility work:

- include/beman/variant/ref_variant.hpp: proof-of-concept variant with
  lvalue-reference alternatives held as pointers, rebinding on
  assignment, shallow const, temporary-binding rejection. C++20:
  concepts on the special member functions (P0848), requires-clauses,
  no SFINAE or base-class layering.
- tests/beman/variant/variant.test.cpp: Catch2 port of the test suite;
  everything expressible as a static_assert is checked at constant
  evaluation, keyed to the slugs in docs/decisions.md.
- docs/decisions.md: slug-keyed decision log (transpose convention) --
  precedent imports from optional<T&> (P2988R12) and expected<T&,E>
  (D4280R0), plus the open questions the variant paper must poll.
- etc/fun_deleted_probe.cpp: overload-resolution probe backing
  dangling-rejection-mechanism; not part of the build, its guarded
  cases fail to compile by design.
- examples/borrow_or_own.cpp: borrow-or-own idiom demonstration.
- tests CMakeLists: add Catch2 extras dir to CMAKE_MODULE_PATH when
  Catch2 comes from FetchContent, so include(Catch) resolves.

Built and tested with the clang-18 toolchain (RelWithDebInfo); ctest
passes. The gcc-13 toolchain fails to configure because gcc-flags.cmake
hardcodes -std=gnu++26, which gcc 13 lacks -- template issue, untouched.

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

54 of 57 new or added lines in 1 file covered. (94.74%)

54 of 57 relevant lines covered (94.74%)

4.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
94.74
include/beman/variant/ref_variant.hpp
Jobs
ID Job ID Ran Files Coverage
1 33764112878.1 03 Sep 2026 02:00PM UTC 1
94.74
GitHub Action Run
Source Files on build 33764112878
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33764112878
  • a4c49abc on github
  • 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