http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471
--- Comment #4 from Zoltan Glozik <zoltan at epochcapital dot com.au> 2011-09-21 06:43:29 UTC --- (In reply to comment #3) > NS::f(t); > Binds at the point at definition because it is qualified. > f(t); > Does not bind and then does argument dependent lookup (ADL) at instantiation > time. Thanks. According to the C++ spec I have the lookup of names dependent on the template parameters is postponed until the actual template argument is known, and in this case NS::f() is dependent on a template argument, so I would think the lookup would be delayed till instantiation. Can you please point me to the paragraph in the standard that says qualified names bind at definition even if they depend on a template argument.