This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13967] [3.3?/3.4/3.5 regression] template template argument identifier lookup fails scoping rules


------- Additional Comments From gianni at mariani dot ws  2004-02-02 01:18 -------
 Gabriel Dos Reis writes:
|| Nonetheless - it's still a boog.
|
|Where? in como or in GCC?

.. I believe it's GCC that gets it wrong.


| ..  Member functions defined in a class
| definition get rewritten as if they were defined outside of the class.
| And it is clear that when you rewrite the function outside of the
| class definition (which is what GCC does), then you find X::C, not the
| template parameter.

But when it gets expanded, there should be no "X::C" symbol in the template
whatsoever as this is should be substituted with the template parameter.  Did I
miss somthing ?




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13967


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]