------- Comment #4 from reichelt at gcc dot gnu dot org 2006-01-04 12:21 ------- > Using > > (ScalarCode<CflFunctor<3> >(CflFunctor<3>(omrot, vis_f)))(x, y); > > was a workaround for me, so I thought it indeed was the issue...
Adding parens in my example also makes the bug go away: (A<0>(A<0>(0))); We couldn't parse this before 3.4.0 either. We try to parse this as a declaration instead of a constructor call. With the parens we don't try to parse this as a declaration and everything goes well. > maybe there are two issues actually. I don't think so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25663
