[LLVMbugs] [Bug 6970] Clang does not convert "ptr to const member function" to "ptr to member function"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 28 17:57:48 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6970

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2010-04-28 19:57:47 CDT ---
I am against adding this extension to Clang, because adding implicit
conversions has a huge effect on overloading, template argument deduction, etc.
and will make Clang non-conforming in ways that will be hard to detect or
explain. No other compiler supports such an extension, so we aren't doing users
any favors by allowing this.

The proper way to get this change is to work through the C++ standards
committee to get the change into an upcoming standard, and Clang will implement
it then.

-- 
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.



More information about the llvm-bugs mailing list