This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78894] [7 Regression] [c++17] ICE for std::list template deduction from std:: initializer_list
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jan 2017 10:48:45 +0000
- Subject: [Bug c++/78894] [7 Regression] [c++17] ICE for std::list template deduction from std:: initializer_list
- Auto-submitted: auto-generated
- References: <bug-78894-4@http.gcc.gnu.org/bugzilla/>
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.