Skip to content

Check for __cpp_lib_remove_cvref as well #5760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

pfultz2
Copy link
Contributor

@pfultz2 pfultz2 commented Jul 21, 2025

Description

C++20 can be enabled while the C++ runtime is still much older so use the feature macro to check for it.

For example, we are using the latest clang with c++23 on SLES, while the gcc version is 7.

Suggested changelog entry:

  • Support C++20 on platforms that have older c++ runtimes.

C++20 can be enabled while the C++ runtime is still much older so use the feature macro to check for it. 

For example, we are using the latest clang with c++23 on SLES, while the gcc version is 7.
@pfultz2 pfultz2 closed this Jul 21, 2025
@pfultz2 pfultz2 deleted the patch-1 branch July 21, 2025 16:03
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