https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- See http://womble.decadent.org.uk/c++/template-faq.html#disambiguation also to better understand the reason why GCC implements it this way and why it is hard to implement this "extension" in all cases.