Skip to content

[Suggestion] Enhance Compiler Compatibility via range-v3 Fallback for C++26 std::ranges #7

Description

@0xtaruhi

Dear Maintainers,

I am writing to express my appreciation for your work on this project. Its modern C++ design is truly impressive!

During my evaluation, I observed that the project leverages C++26 std::ranges features, necessitating a state-of-the-art compiler such as GCC 15. While this forward-looking approach is commendable, it may inadvertently pose a significant adoption challenge for developers in environments where upgrading compilers is difficult, such as on Linux LTS distributions or within contexts governed by strict corporate toolchain policies.

To address this, I respectfully propose a compatibility enhancement: implementing range-v3 as a compile-time fallback for std::ranges.
This may be achieved using a preprocessor-driven approach. A compatibility header could select the appropriate implementation at compile time. This enhancement may expand the project's potential user base while fully preserving its modern C++ foundation.

If you agree with this suggestion, I am willing to prepare and submit a pull request to implement it!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions