[Bug c++/15144] Template instantiation can't find symbol in global namespace

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 11 18:11:00 GMT 2004


------- Additional Comments From jason at gcc dot gnu dot org  2004-05-10 19:41 -------
While I'm not sure whether or not this is a bug, Koenig lookup is irrelevant to
the discussion.  There are other cases in which non-Koenig lookup is done at
instantiation time, such as the T::baz example mentioned; the question is
whether or not that should apply to this testcase.

I note that EDG 3.4 accepts the testcase, and they have spent more time on
implementing two-phase lookup than anyone.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


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



More information about the Gcc-bugs mailing list