-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
substitution failure
for template argument pack in template argument
#71811
Comments
@llvm/issue-subscribers-clang-frontend Author: Robin Heinemann (rroohhh)
The following code
```cpp
#include <utility>
#include <variant>
#include <vector>
template <class T> template < using ReadResult = std::variant<std::monostate, std::vector<int>>; using PromiseType =
<source>:21:14: error: no matching function for call to 'prefix_inner_types_helper'
|
This is fixed using We tried turning this on by default: https://discourse.llvm.org/t/why-frelaxed-template-template-args-is-added-back/65727 but a cuda thrust seems to have an issue: https://reviews.llvm.org/D109496 I don't know if and when this will be picked up again. |
Duplicate of #55894 |
The following code
gives the following error:
while
gcc
accepts it without any complaints.(See https://godbolt.org/z/7qoWsWe4a)
The text was updated successfully, but these errors were encountered: