C++ PATCH for c++/53862 (rejects-valid variadic templates)

Jason Merrill jason@redhat.com
Fri Jul 6 15:43:00 GMT 2012


tsubst doesn't handle pack expansions directly; any place where a pack 
expansion is valid needs to test for them and call 
tsubst_pack_expansion.  Here, the code for testing whether a non-deduced 
template argument is relevant to the argument types was failing to do 
so.  Conveniently, we already have a tsubst_arg_types function, so we 
can just call it.

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


More information about the Gcc-patches mailing list