[Bug c++/20711] New: accept-invalid definition not in enclosing namespace

2005-04-01 Thread smcpeak at cs dot berkeley dot edu
enclosing namespace Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: smcpeak at cs dot berkeley dot edu CC

[Bug c++/11828] [3.4/4.0 regression] qualified dependent name looked up too early

2005-03-03 Thread smcpeak at cs dot berkeley dot edu
--- Additional Comments From smcpeak at cs dot berkeley dot edu 2005-03-04 05:00 --- I think I have answered my own question: indeed, qualified lookup only considers name from the definition context, and not the instantiation context. I found this thread at google groups: http

[Bug c++/20307] template resolution is wrong when accessed with namespace prefix

2005-03-03 Thread smcpeak at cs dot berkeley dot edu
--- Additional Comments From smcpeak at cs dot berkeley dot edu 2005-03-04 03:59 --- Andrew, I think you are misinterpreting [temp.dep.candidate] (14.6.4.2). That section modifies the lookup rules for unqualified-ids that are dependent, but does *not* say that only unqualified-ids can

[Bug c++/11828] [3.4/4.0 regression] qualified dependent name looked up too early

2005-02-20 Thread smcpeak at cs dot berkeley dot edu
--- Additional Comments From smcpeak at cs dot berkeley dot edu 2005-02-21 02:41 --- I question the apparent conclusion reached in this discussion. The reporter's testcase refers to n::f(a) where 'a' has dependent type. The conclusion so far is that 'f' is