Skip to content

feat: require C++23 ranges container support - #68

Merged
megabyde merged 4 commits into
mainfrom
feat/require-ranges-to
Jul 27, 2026
Merged

feat: require C++23 ranges container support#68
megabyde merged 4 commits into
mainfrom
feat/require-ranges-to

Conversation

@megabyde

Copy link
Copy Markdown
Owner

Summary

  • use std::ranges::to for the split view-to-vector conversion
  • fail compilation when the standard library lacks __cpp_lib_ranges_to_container support
  • document compiler and standard-library versions that provide the required C++23 facility
  • describe the executable as the project template rather than a demo

Why

The template declares C++23 as its language standard, so its baseline should require a compiler and standard library that implement the standard facility used by the project. The feature-test check produces a direct error when the compiler driver and standard-library combination is incomplete.

Validation

  • make debug; 10/10 tests passed
  • fresh Release build; 10/10 tests passed
  • make format-check
  • make lint
  • git diff --check

megabyde added 2 commits July 26, 2026 20:16
Use std::ranges::to in split_views_vec and fail compilation when the
standard library lacks ranges-to-container support. Raise the documented
compiler and standard-library floors to match.
Install and select GCC 14 before Conan detects the compiler profile.
This aligns every Ubuntu C++ job with the documented std::ranges::to
requirement.
@megabyde
megabyde force-pushed the feat/require-ranges-to branch from 583944d to 010d98a Compare July 27, 2026 03:19
megabyde added 2 commits July 26, 2026 20:23
Run gcov-14 against GCC 14 coverage data. Configure the clang-tidy
compilation database with Clang so the analyzer does not receive GCC-only
module dependency flags.
Disable CMake module scanning because the project has no module units, keeping
GCC- and Clang-only response files out of compile_commands.json. Call
std::ranges::to directly to avoid the libstdc++ adaptor parsing failure.
@megabyde
megabyde merged commit 0880d5b into main Jul 27, 2026
17 checks passed
@megabyde
megabyde deleted the feat/require-ranges-to branch July 27, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant