https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106223
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I really think this is undefined behavior and specialization of std::forward is not allowed.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 07 Jul 2022 01:40:31 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106223
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I really think this is undefined behavior and specialization of std::forward is not allowed.