C++ PATCH to handling of template conversion functions
Jason Merrill
jason@redhat.com
Mon Sep 12 19:29:00 GMT 2011
This was another change that I needed to make to fix the deduction issue
mentioned in my previous mail, and brought my attention to an existing
bug. When considering a template conversion function we don't want to
allow derived-to-base conversions, but we should still allow
qualification conversions. This patch fixes the latter, and gives a
more helpful diagnostic for the former.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp-conv.patch
Type: text/x-patch
Size: 3895 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110912/13c4f842/attachment.bin>
More information about the Gcc-patches
mailing list