https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124338
--- Comment #4 from S. Davis Herring <herring at lanl dot gov> --- Well, without it being generic you don't get the error, but yes the wrong overload is still selected (which is in a way worse).
herring at lanl dot gov via Gcc-bugs Mon, 02 Mar 2026 13:54:59 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124338
--- Comment #4 from S. Davis Herring <herring at lanl dot gov> --- Well, without it being generic you don't get the error, but yes the wrong overload is still selected (which is in a way worse).