[libcxx-commits] [libcxx] [libc++][ranges] use `static operator()` for C++23 ranges (PR #86052)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 21 21:33:59 PDT 2024
https://github.com/mordante commented:
> Once this pull request is merged, it's worth considering backporting this feature to those related to C++20 ranges, given that both Clang and GCC have implemented language extensions that support `static operator()` in C++20. I'm willing to submit a pull request if that's a good idea.
I'm strongly against that idea. We agreed to allowed a small set of extensions to be used in older language versions to make the maintenance between language versions easier. We explicitly did not allow to use all extensions.
https://github.com/llvm/llvm-project/pull/86052
More information about the libcxx-commits
mailing list