[Bug c++/121117] Wrong overload resolution for function templates with packs

2025-07-22 Thread tobias.loew at steag dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121117 --- Comment #2 from Tobias Loew --- By looking once more very close at the standard, I figured out that for the given example, the two "foo" overloads are unordered wrt. partial template ordering: the reason is the last sentence in https://eel.i

[Bug c++/121117] Wrong overload resolution for function templates with packs

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121117 --- Comment #1 from Andrew Pinski --- Created attachment 61884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61884&action=edit testcase Please attach the testcase next time rather than just link to godbolt.