-
Notifications
You must be signed in to change notification settings - Fork 13.5k
template template reportedly undefined #55642
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
Comments
@llvm/issue-subscribers-clang-frontend |
@llvm/issue-subscribers-c-20 |
Is it clear (some standards wording would be helpful) that this is a Clang rejects-valid, and not a GCC accepts-invalid? I would be surprised if |
Is this another case of P0522? (#42305) It compiles with the |
Indeed it does, thanks |
cppreference does mention which is how it seems to work with |
clang trunk (
-std=c++20
) fails on the following code :source>:7:37: error: implicit instantiation of undefined template 'type_unpack<std::tuple<int>>'
the fix I found is to add the
...
. GCC trunk compiles with or without the ellipsis.Tested on godbolt
The text was updated successfully, but these errors were encountered: