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

bemanproject / expected
98%
main: 98%

Build:
DEFAULT BRANCH: main
Repo Added 10 Jul 2026 04:37AM UTC
Token 3o89SKhcYjBs26SCjYz789l3h0zIVmwhG regen
Build 131 Last
Files 3
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: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • asan-void-union-member
  • clang-libstdcxx-triviality
  • clean-wording-goal
  • cover-unexercised-members
  • coverage-fill-uncovered-members
  • dependabot/github_actions/github-actions-35c9f0a586
  • dependabot/github_actions/github-actions-421defb54a
  • dependabot/github_actions/github-actions-5f3587872c
  • dependabot/github_actions/github-actions-741511fad8
  • dependabot/github_actions/github-actions-9f90bd1628
  • dependabot/github_actions/github-actions-ae7e32bf4c
  • dependabot/github_actions/github-actions-cc2e54e959
  • dependabot/github_actions/github-actions-dd3649b633
  • dependabot/github_actions/github-actions-f401757a1c
  • dependabot/github_actions/github-actions-fde006ed19
  • dependabot/github_actions/github-owned-actions-0ea35773d6
  • dependabot/github_actions/github-owned-actions-1b1ce9824d
  • dependabot/github_actions/github-owned-actions-3d2ef569ae
  • dependabot/github_actions/github-owned-actions-432e0d4de6
  • dependabot/github_actions/github-owned-actions-52fc152648
  • dependabot/github_actions/github-owned-actions-9bb51a497a
  • dependabot/github_actions/github-owned-actions-c43a2bfa63
  • dependabot/pip/clang-format-22.1.8
  • dependabot/pip/clang-format-23.1.0
  • dependabot/pip/clang-format-23.1.1
  • dependabot/pip/clang-format-23.1.2
  • dependabot/pip/clang-format-23.1.3
  • dependabot/pip/clang-format-23.1.5
  • dependabot/pip/cmake-4.4.0
  • dependabot/pip/cmake-4.4.2
  • dependabot/pip/cmake-4.4.3
  • dependabot/pip/cmake-4.4.4
  • dependabot/pip/cmake-4.4.5
  • dependabot/pip/cmake-4.5.1
  • expected-over-references-paper
  • extract-xfail-compile
  • fix/beman-tidy-lint-failures
  • fix/cmake-4.4-import-std-uuid
  • fix/review-remediation-2026-09-02
  • forgejo-ci
  • gcc-17-toolchain
  • hardened-ref-specializations
  • infra-sync-cmake-4.4
  • paper-build-without-specgen
  • ref-value-type
  • smf-constraints-on-e
  • specgen-0.58
  • specgen-catchup
  • synopsis-shape
  • test/scrap-static-assert
  • type-name-reflection-ci
  • update-infra-20260731
  • update-infra-workflows
  • update/pre-commit-autoupdate
  • wording-from-headers
  • xfail-driver-reads-expect

01 Dec 2026 01:42PM UTC coverage: 97.529%. Remained the same
46659183110

push

github

web-flow
Update to specgen 0.58.0, and close the reference gaps it and optional's changes exposed (#126)

Three pieces of work, in the order the commits tell them.

## specgen 0.58.0

The generated wording in `papers/wording/` is regenerated with specgen
0.58.0, and uses what the new release offers:

- specgen now states `U` and `G` for the monadic operations from the
body's own alias, as the draft does, so the authored "where `U` is ..."
text is gone.
- `BEMAN_EXPECTED_CONSTEXPR_EXCEPTION` shows as `constexpr`, and `\omit
noexcept` / `\omit default` show the draft's declarations where the
library strengthens them.
- `error_or`'s *Constraints* are authored so they name
`error-value-type`.
- The draft's copy of the `[expected.bad.void]` synopsis is dropped from
the header; that section now has no marks against the draft.

Two specgen bugs found on the way are filed upstream:
https://github.com/steve-downey/specgen/issues/487 and
https://github.com/steve-downey/specgen/issues/488.

## Rvalue access to a referenced error

The draft spells the error of an rvalue `expected` as
`std::move(error())`. That is access-then-move: harmless while `E` could
not be a reference, and the `boost::optional<T&>` steal once it can. The
wording and the code now move the holder and then ask it,
`std::move(unex).error()`, which is `E&&` for an object `E` and `E&` for
a reference `E`. This is 23 marked places in `papers/expected-new.tex`,
the docblocks, twelve aliases and two assertions in the code, and tests
for `error_or() &&`, `value() &&` and the rvalue monadic operations.

## The base templates, checked against optional

P2988R12 and its follow-up issues made a handful of small changes to
`optional` outside `[optional.ref]`. Each names a place where a type may
now be a reference. Checking the same places in `expected` found:

- **A compile error.** Copying an `expected<T&, E>` or `unexpected<E&>`
from a const rvalue of its own type failed under gcc-16: a deleted
constructor templ... (continued)

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

829 of 850 relevant lines covered (97.53%)

23.5 hits per line

Relevant lines Covered
Build:
Build:
850 RELEVANT LINES 829 COVERED LINES
23.5 HITS PER LINE
Source Files on main
  • Tree
  • List 3
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46659183110 main Update to specgen 0.58.0, and close the reference gaps it and optional's changes exposed (#126) Three pieces of work, in the order the commits tell them. ## specgen 0.58.0 The generated wording in `papers/wording/` is regenerated with specgen 0... push 01 Dec 2026 01:46PM UTC web-flow github
97.53
44952328621 main Make expected<T&, E>::value_type T, as optional<T&>'s is (#124) `expected<T&, E>::value_type` was `T&`. It is now `T`, as `optional<T&>::value_type` is. Generic code names `value_type` when it holds on to a value: a local, a member, a container ... push 21 Nov 2026 09:37PM UTC web-flow github
97.53
44776241332 main Add a gcc-17 toolchain file (#123) Adds `cmake/gcc-17-toolchain.cmake`, matching `cmake/gcc-16-toolchain.cmake` with the compiler, gcov, and comment updated for gcc 17. Like the gcc-16 file, it enables `-freflection`, which turns on the reflectio... push 20 Nov 2026 04:49PM UTC web-flow github
97.53
44759088008 main Give the generated synopses, class prose and front matter the paper's shape, and let Doxygen read the docblocks (#122) The next stages of `docs/plan/specgen-catchup.md`, on top of #121: the synopses and item declarations take the paper's shape wh... push 20 Nov 2026 03:04PM UTC web-flow github
97.53
44642081569 main Catch the headers and wording up to specgen 0.47.0: unblock the build, and the first stages of the plan (#121) specgen has moved from 0.41.1 to 0.47.0 since #117, and since 0.44.0 it fails the run on a docblock error. The headers had seven, so `m... push 20 Nov 2026 12:07AM UTC web-flow github
97.53
44611979481 main Add a clean-wording goal, and regenerate the wording with specgen 0.41.1 (#117) ## Summary - `make wording` compares the generated fragments with the annotated headers. A new specgen renders the same headers differently without touching one, so ... push 19 Nov 2026 09:08PM UTC web-flow github
97.53
41386639177 main Read the EXPECT lines in the xfail driver, when the test runs (#112) ## Summary - The driver now receives the source path (`-DBEMAN_XFAIL_EXPECT_FILE`) and reads the `// EXPECT: "<regex>"` lines when the test runs, instead of the regex being rea... push 02 Nov 2026 04:10AM UTC web-flow github
97.53
40745202438 main chore(deps): bump the github-owned-actions group with 3 updates (#110) Bumps the github-owned-actions group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/gi... push 28 Oct 2026 06:35PM UTC web-flow github
97.53
39364816433 main Extract the negative compile test macro into a reusable beman_add_xfail_compile_test module (#108) ## Summary The 59 negative compile tests were registered through a three-argument `add_fail_test` macro local to `tests/beman/expected/CMakeLists.... push 20 Oct 2026 03:42AM UTC web-flow github
97.53
39300948700 main Test the reflection path of type_name on gcc 16, with coherent flags (#107) Closes #88. `tests/beman/expected/testing/type_name.hpp` has two implementations of the same contract: P2996 reflection, and a fallback that recovers names from `std::so... push 19 Oct 2026 06:23PM UTC web-flow github
97.53
See All Builds (131)

Badge your Repo: expected

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