http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54903
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-10-11 CC| |jason at gcc dot gnu.org Target Milestone|--- |4.8.0 Summary|Auto + static in-class |[4.8 Regression] Auto + |constant initalization not |static in-class constant |working |initalization not working Ever Confirmed|0 |1 --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-11 22:53:25 UTC --- In terms of FSF releases, this is accepted by all the 4.7.x releases up to current 4_7-branch. It's not accepted by current mainline with: 54903.C:14:23: error: use of ‘Angle<N>::value’ before deduction of ‘auto’ typedef Angle<value> type; ^ 54903.C:14:23: error: use of ‘Angle<N>::value’ before deduction of ‘auto’ Thus it seems a Regression (if anything ;)