https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

even doing:
```
void f(const TestClass *a)
{

  // But this fails when checking from inside the class.
  static_assert( ArrayElemCount( a->m_array ) == 10 );

}
```

Will fail as `a->m_array ` is NOT a constexpr
BUT `test_instance.m_array` is one as the reference to test_instance is one
too.

Reply via email to