feat: require C++23 ranges container support - #68
Merged
Conversation
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
force-pushed
the
feat/require-ranges-to
branch
from
July 27, 2026 03:19
583944d to
010d98a
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
std::ranges::tofor the split view-to-vector conversion__cpp_lib_ranges_to_containersupportWhy
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 passedmake format-checkmake lintgit diff --check