------- Comment #3 from bangerth at dealii dot org 2007-09-08 23:33 ------- I don't know whether gcc's result is correct or not (I suspect it is) but here's two more data points: - icc produces the same output - Sun Studio produces the following compiler output: ---------- g/x> ~/bin/sunstudio-2007-03/bin/CC x.cc "x.cc", line 17: Error: foo is not a member of foo<int>. "x.cc", line 17: Error: Badly formed expression. 2 Error(s) detected. ----------
-- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041