This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82579] GCC 7/8 ambiguous call to overload
- 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: Tue, 17 Oct 2017 12:27:52 +0000
- Subject: [Bug c++/82579] GCC 7/8 ambiguous call to overload
- Auto-submitted: auto-generated
- References: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is not a GCC bug, because it's the required behaviour for C++17.
Use -fno-new-ttp-matching to disable it in C++17 (or use -fnew-ttp-matching to
enable it in C++14 and make it ambiguous).