http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58037
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58037
--- Comment #2 from Nick Maclaren ---
Thanks. That's simpler than my workaround.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58037
--- Comment #1 from Jonathan Wakely ---
The compiler only rejects it when the member is non-static and uses = for the
initializer.
As a workaround you can use a braced-init-list as the initializer for the
member:
const int rank { sizeof...(D
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58037
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid
Status|UNCONF