C++ PATCH to convert_template_argument for c++/27424

Jason Merrill jason@redhat.com
Thu Jun 29 01:30:00 GMT 2006


In this bug, we fail to substitute into a template template argument 
because we didn't pass in all the template arguments of the surrounding 
template.  It seems like the existing code in convert_template_argument 
tries to handle this case, but for some reason stripped all but the 
innermost set of arguments.  Removing that stripping fixes the testcase, 
and doesn't break any tests.

Tested x86_64-pc-linux-gnu, applied to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: template-template.patch
Type: text/x-patch
Size: 1515 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060629/69ba4a0a/attachment.bin>


More information about the Gcc-patches mailing list