| Issue |
61586
|
| Summary |
clang++: out-of-line definition of member function of explicitly specialized template class specialized using a constraint is rejected
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
ednolan
|
Example code:
```
#include <concepts>
template <typename T>
struct foo {
void bar();
};
template <std::integral T>
struct foo<T> {
void bar();
};
template <std::integral T>
void foo<T>::bar() {}
```
Compiler explorer link: https://godbolt.org/z/r6e6cj9Px
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs