https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108635
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect you need noexcept too. Otherwise you could in theory have an exception.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 02 Feb 2023 01:36:39 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108635
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect you need noexcept too. Otherwise you could in theory have an exception.