https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105111 --- Comment #3 from Andrei-Edward Popa <andrei.popa105 at yahoo dot com> --- Thanks for that reference to the standard, it is clear to me why gcc reject this call as ambiguous.