C++ PATCH for c++/59818 (wrong overload with PMF)

Jason Merrill jason@redhat.com
Tue Jan 28 21:58:00 GMT 2014


In this testcase, we deduce "Bar const" for T and substitute it into the 
second parameter, accidentally getting a pointer to const member 
function because we forgot to strip the const from Bar.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 59818.patch
Type: text/x-patch
Size: 1208 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140128/811c2730/attachment.bin>


More information about the Gcc-patches mailing list