http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24702
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- The standard says: When considering an associated namespace, the lookup is the same as the lookup performed when the associated namespace is used as a qualifier (3.4.3.2) except that: - [...] - [...] - All names except those of (possibly overloaded) functions and function templates are ignored. So non-functions are ignored.