[Bug c++/103684] Ambiguous template template overload resolution

2021-12-13 Thread weidmann at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 --- Comment #3 from Nicolas Weidmann --- Ok, thanks for the update!

[Bug c++/103684] Ambiguous template template overload resolution

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/103684] Ambiguous template template overload resolution

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 --- Comment #1 from Andrew Pinski --- Reduced testcase: template struct f{}; template struct g{}; template class T> constexpr int hello() { return 2; } template class T> constexpr int hello() { return 3; } void foo() { auto i = hel