https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119899
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libgcc |libstdc++ --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is just C++ ADL happening. That is since std::ref is located std namespace, invoke will be looked up there too.