https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82470
--- Comment #4 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- Ah yes, the compiler is indeed correct, the standard suggests looking up a member function. Time to fix the spec, then. :)