http://llvm.org/bugs/show_bug.cgi?id=7209
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Douglas Gregor <[email protected]> 2011-10-31 10:47:33 CDT --- This is fixed in top-of-tree Clang: t.cpp:10:15: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup std::clog << t; ^ t.cpp:15:17: note: in instantiation of function template specialization 'log<N::X>' requested here template void log(const X&); ^ t.cpp:13:17: note: 'operator<<' should be declared prior to the call site or in namespace 'N' std::ostream &operator<<(std::ostream&, const X& x); -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
