https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124438
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
struct CTest
{
const bool m_my_bool_only_const = false;
};
You could then do:
CTest a{true};
a const static member is rather different and is closer to a global constexpr.
