Summary: | Template behaviour when a template class has a member template class deriving from its container | ||
---|---|---|---|
Product: | gcc | Reporter: | Pietro Braione <pietro.braione> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | fang |
Priority: | P3 | ||
Version: | 4.3.3 | ||
Target Milestone: | --- | ||
Host: | Target: | x86_64-unknown-linux-gnu | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Attachments: | the example program |
Description
Pietro Braione
2009-04-15 15:18:37 UTC
Created attachment 17643 [details]
the example program
The issue comes down to how is Inc injected into Inc. I can't remember the exact rules but I think GCC's behavior is correct. For the record, the Intel compiler - which I trust much more than DM, sorry - behaves the same as GCC. I strongly believe GCC is correct. I even think we have something closed about this issue, let me see if I find it... This is even rejected now. |