This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14242] [3.4 regression] symbol lookup in templates


------- Additional Comments From giovannibajo at libero dot it  2004-03-06 19:17 -------
Nathan, can you please comment on this testcase? I can't see how this can be 
valid since 'bla' is an unqualified non-dependent id which has to be looked up 
at template definition time. The lookup will found an overload set, and the 
disambiguation will have to be deferred till instantiation time as the 
assignment expression is type-dependent. 

But latest EDG and MSVC71 accepts the code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it, nathan at gcc dot gnu
                   |                            |dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]