[Bug c++/13967] [3.3?/3.4/3.5 regression] template template argument identifier lookup fails scoping rules
gianni at mariani dot ws
gcc-bugzilla@gcc.gnu.org
Mon Feb 2 01:18:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list