Closed
Description
struct S {
auto f(this auto self...) { }
};
int main() {
S{}.f(0);
}
https://godbolt.org/z/bP8f6hzGs
Clang will crash with the above code. This should be a legal variadic function IMO.
struct S {
auto f(this auto self...) { }
};
int main() {
S{}.f(0);
}
https://godbolt.org/z/bP8f6hzGs
Clang will crash with the above code. This should be a legal variadic function IMO.