-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"conceptsC++20 conceptsC++20 concepts
Description
Full reproducer:
https://godbolt.org/z/oh1v7h64G
Compiles with gcc, but not clang.
This could also be user error and gcc should be throwing an error; however, I feel like the code is correct since clang doesn't fail the static_assert, but fails when applied to the lambda auto arguments.
Metadata
Metadata
Assignees
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"conceptsC++20 conceptsC++20 concepts
Type
Projects
Status
Done