Issue |
131391
|
Summary |
clang: regression - template partial specialization with integer_sequence
|
Labels |
clang
|
Assignees |
|
Reporter |
elbeno
|
Partial specialization of a template with an integer sequence or similar seems to be failing.
```cpp
#include <utility>
template <typename L> struct S;
template <template <typename, auto...> typename L, typename T, T... Vs>
struct S<L<T, Vs...>> {
constexpr static auto value = 0;
};
auto main() -> int {
using T = std::make_index_sequence<3>;
return S<T>::value;
}
```
https://godbolt.org/z/GY9M44nzM
Produces:
```console
<source>:12:12: error: implicit instantiation of undefined template 'S<std::integer_sequence<unsigned long, 0, 1, 2>>'
12 | return S<T>::value;
| ^
```
This seems to be a regression after clang-19.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs