https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96333
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started with r11-1571 and I think G++ is correct to reject it. The second overload is not a more constrained version of the first, they're just ambiguous.