https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119899
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since std::ref returns the class std::reference_wrapper, that class
participates in ADL.
So this is invalid.
