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

steve-downey / variant
95%

Build:
DEFAULT BRANCH: main
Repo Added 03 Sep 2026 02:00PM UTC
Token HGLWykl8myhW26rKyKnY1gsXgMLOTIunI regen
Build 1 Last
Files 1
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main

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

Relevant lines Covered
Build:
Build:
57 RELEVANT LINES 54 COVERED LINES
4.25 HITS PER LINE
Source Files on main
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33764112878 main 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 ... push 03 Sep 2026 02:00PM UTC claude github
94.74
See All Builds (1)

Badge your Repo: variant

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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