Skip to content
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

STL: Replace SFINAE with concepts in C++20-only code when all supported C++20 frontends support concepts #602

Open
StephanTLavavej opened this issue Mar 12, 2020 · 1 comment
Labels
enhancement Something can be improved

Comments

@StephanTLavavej
Copy link
Member

See #395. After that simple, mechanical change, we should audit all C++20-only code and replace SFINAE usage with concepts where possible. (#309 is an example where concepts should be used.)

@frederick-vs-ja
Copy link
Contributor

I think more than 90% of C++20+-only codes are done after #4819.

Remaining parts:

  • tuple constructors: blocked on LLVM-59827, will be possibly unblocked after requiring Clang 18.
  • priority_queue deduction guides: blocked on CWG-2369, which is not yet implemented by MSVC and Clang.
  • zoned_time constructors: blocked on LWG-4067 (IMO), the constraints are weird currently.

Anything missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
None yet
Development

No branches or pull requests

2 participants