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++/23885] incorrect template two-stage name-lookup



------- Comment #7 from andrew dot stubbs at st dot com  2007-05-31 09:49 -------
See here: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#197

It would appear that only koenig lookup is done for functions defined after the
template declaration. As the Intel statement says, koenig lookup does not apply
to fundamental types.

Koenig lookup is described in clause 3.4.2 "Argument dependent name lookup".
It is clause 14.6.4 "Dependent name resolution" that limits the lookup to
Koenig only.


-- 


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


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