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++/26267] template function implicity instatiated



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-13 20:24 -------
This has nothing to do with implicity instatiating the template function.
NOT_HERE is not dependent so it is looked up as the template function is parsed
and not at instatiation time.

This is not a bug and this behavior is required by the standard by the
non-dependent namelookup.

You were looking into the wrong section (I don't have the standard in front of
me but IIRC the section is named template lookup rules).


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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