http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53573
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-05 11:31:07 UTC --- [temp.dep.res] says dependent name resolution considers declarations visible at the point of definition, and declarations from associated namespaces from the instantiation context and the definition context. [basic.lookup.argdep]/2 says "If T is a fundamental type, its associated sets of namespaces and classes are both empty."