C++ PATCH for c++/69743 (wrong overload resolution with variadic templates)

Jason Merrill jason@redhat.com
Sat Feb 20 04:29:00 GMT 2016

My change to tsubst_pack_expansion to handle the special case of T... 
revealed a latent bug whereby we were considering the trailing "void" 
when comparing two variadic templates.  When we then try to deduce one 
from the other we get a parameter of type "void", which results in 
substitution failure.

Tested x86_64-pc-linux-gnu, applying to trunk and 5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 69743.patch
Type: text/x-patch
Size: 2534 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160220/0ff94de4/attachment.bin>

More information about the Gcc-patches mailing list