[Bug c++/30624] ignores explicit qualification

2007-02-10 Thread bangerth at math dot tamu dot edu
--- Comment #5 from bangerth at math dot tamu dot edu 2007-02-11 06:22 --- Subject: Re: ignores explicit qualification > --- Comment #4 from igodard at pacbell dot net 2007-02-11 06:04 --- > Thank you. Is that obscure or what :-) No, I think that was pretty straightforward!

[Bug c++/30624] ignores explicit qualification

2007-02-10 Thread igodard at pacbell dot net
--- Comment #4 from igodard at pacbell dot net 2007-02-11 06:04 --- Thank you. Is that obscure or what :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30624

[Bug c++/30624] ignores explicit qualification

2007-02-10 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2007-02-11 04:16 --- (In reply to comment #2) > I thought (according to the ARM) that all functions of a template class were > implicitly function templates. No, you confuse class member templates with class template members :-) > Ordinar

[Bug c++/30624] ignores explicit qualification

2007-01-28 Thread igodard at pacbell dot net
--- Comment #2 from igodard at pacbell dot net 2007-01-28 20:03 --- I thought (according to the ARM) that all functions of a template class were implicitly function templates. Ordinarily the correct instantiation is determined by the object, but when both are inherited then it needs qual

[Bug c++/30624] ignores explicit qualification

2007-01-28 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-01-28 19:41 --- (In reply to comment #0) > template struct foo { T*bar(); }; > struct foo1 : public foo, public foo { }; > int main() { foo1 f; f.bar(); } this is an invalid code. 1). f.bar isn't a function template, so f.bar is wrong.