[Bug c++/66921] failure to determine size of static constexpr array that is nested within a templated class

anders.granlund.0 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jul 19 04:02:00 GMT 2015


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

Anders Granlund <anders.granlund.0 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.granlund.0 at gmail dot com

--- Comment #1 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
Smaller test-case:

  template<typename T> struct S { static constexpr int a[] {0}; };

  template struct S<void>;

  int main() {}



More information about the Gcc-bugs mailing list