Summary: | A template named the same as its member confuses lookup through inheritance | ||
---|---|---|---|
Product: | gcc | Reporter: | Dave Abrahams <dave> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fang, gcc-bugs, msebor |
Priority: | P3 | ||
Version: | 4.0.2 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | 4.9.3, 5.3.0, 6.1.0 | |
Known to fail: | Last reconfirmed: | ||
Attachments: | Preprocessed C++ source |
Description
Dave Abrahams
2006-03-28 15:16:03 UTC
Created attachment 11136 [details]
Preprocessed C++ source
Do you have a shorter testcase? It is hard to figure out if this is valid code (though it does look like it is). I'm afraid I don't. The test case compiles with today's trunk (7.0) as well all supported versions (all the way back to 4.9.3). Resolving as Fixed. For the record, it seems to have first been fixed for GCC 4.5 |