Parameter packs not expanded in lambda template list #48937
Labels
bugzilla
Issues migrated from bugzilla
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
lambda
C++11 lambda expressions
Extended Description
The following code intends to work, even if it fails in three major compilers:
template <typename... Ts>
void f(Ts...) {
([](){}, ...);
}
int main() { f(0, 0.5); }
(goldbot: https://godbolt.org/z/xnM9dY)
The text was updated successfully, but these errors were encountered: