------- Comment #8 from bangerth at gmail dot com 2010-02-16 23:42 ------- (In reply to comment #6) > Clarified summary. Since this isn't a regression and there is a workaround, > it > doesn't seem like a high priority for 4.5.
But if I understand comment #3 correctly, then the workaround originally proposed for this PR, namely ---------------------------- template <int dim> class X {}; template <class T> class Y { static const unsigned int dim = 1; X<dim> f(); }; template <class T> X<Y<T>::dim> Y<T>::f() { return X<dim>(); } --------------------------- no longer compiles? I don't have current sources around here, but this worked with 4.3.2. If it doesn't work with mainline, then this *would* be a regression. Can someone check? Thanks W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26261