http://llvm.org/bugs/show_bug.cgi?id=18072
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- This is deliberate; it's a C++11 rule that GCC doesn't implement yet. Note that your two 'operator<<' overloads really should be ambiguous: they're both exact matches, they're both function templates, and neither of them is more specialized than the other. C++98's rules didn't handle this case very well (and arbitrarily picked the member function, because they failed to take into account the ordering of the *this parameter); C++11's rules do the right thing here, and Clang implements them in C++11 mode. -- 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
