https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This works though: static_assert( std::size( decltype(m_array){} ) == 10 );
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 20 Nov 2024 14:51:22 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This works though: static_assert( std::size( decltype(m_array){} ) == 10 );