This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/78894] [7 Regression] [c++17] ICE for std::list template deduction from std:: initializer_list


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78894

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, I think Jakub's reduced example is valid, and should deduce C<int>.

But I think the original example is invalid, the initializer-list constructor
can be deduced.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]