From 64a0ac3d9878c8134b9a0250849d9a693271f6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darius=20Nea=C8=9Bu?= Date: Mon, 13 Jul 2026 20:10:36 +0300 Subject: [PATCH 1/3] Enable beman-tidy (--require-all mode) into beman.span --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5939a4d..48fecfc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,6 @@ repos: rev: v0.5.2 hooks: - id: beman-tidy - args: [".", "--verbose"] + args: [".", "--verbose", "--rqeuire-all"] exclude: 'infra/|port/' From d792e589bc76709a5b11abcc2c0b64bd9a56cf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darius=20Nea=C8=9Bu?= Date: Mon, 13 Jul 2026 20:13:25 +0300 Subject: [PATCH 2/3] Fix typo in pre-commit hook arguments --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 48fecfc..30f7f89 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,6 @@ repos: rev: v0.5.2 hooks: - id: beman-tidy - args: [".", "--verbose", "--rqeuire-all"] + args: [".", "--verbose", "--require-all"] exclude: 'infra/|port/' From bba6c0863c6a3fe53eb11e318034037c23d49dd6 Mon Sep 17 00:00:00 2001 From: Samaresh Kumar Singh Date: Sun, 26 Jul 2026 12:54:05 -0500 Subject: [PATCH 3/3] Fix the two beman-tidy checks that --require-all turned into failures Enabling --require-all promotes readme.implements and release.godbolt_trunk_version from recommendations to requirements, and neither was satisfied. The Implements line now uses the **Implements**: spelling the check expects and points at a wg21.link paper, and there is a Compiler Explorer badge linking to a runnable example built against beman_span trunk. beman-tidy goes from 94.29% to 100% locally. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index edfed49..eec747a 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,12 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception [![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg)](https://github.com/bemanproject/beman/blob/main/docs/beman_library_maturity_model.md#the-beman-library-maturity-model) ![Continuous Integration Tests](https://github.com/bemanproject/span/actions/workflows/ci_tests.yml/badge.svg) ![Lint Check (pre-commit)](https://github.com/bemanproject/span/actions/workflows/pre-commit-check.yml/badge.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/span/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/span?branch=main) ![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp29.svg) +[![Compiler Explorer Example](https://img.shields.io/badge/Try%20it%20on%20Compiler%20Explorer-grey?logo=compilerexplorer&logoColor=67c52a)](https://godbolt.org/z/4vsvzbf7z) + `beman.span` is an implementation of various proposed updates to `std::span`. -**Implements:** `std::span` a non-owning view over a contiguous sequence of objects. +**Implements**: `std::span::at()` proposed in [span.at() (P2821R5)](https://wg21.link/P2821R5). + See [cppreference — std::span](https://en.cppreference.com/w/cpp/container/span) and [eel.is/c++draft/views.span](https://eel.is/c++draft/views.span).