Closed Yaraslaut closed 2 months ago
Describe the bug Parses crashes when trying to compile following code
template<typename T> constexpr void foo() { [:expand(template_arguments_of(^T)):] >> [&]<auto mem> {}; } static_assert(template_arguments_of(^std::variant<short,int,long,float>).size() == 4); int main() { foo<std::variant<short,int,long>>(); foo<std::variant<short,int,long,float>>(); // crash return 0; }
To Reproduce Steps to reproduce the behavior: https://godbolt.org/z/G8qqas6dh
Thanks for the bug report, @Yaraslaut ! This will be fixed on Godbolt tomorrow.
Describe the bug Parses crashes when trying to compile following code
To Reproduce Steps to reproduce the behavior: https://godbolt.org/z/G8qqas6dh