C++ PATCH to type_unification_real for c++/37766
Jason Merrill
jason@redhat.com
Mon Oct 12 21:10:00 GMT 2009
We use convert_template_argument to make class template arguments match
their corresponding parameters. We don't normally do that for function
template arguments because they're deduced, so they already match. But
that doesn't apply to explicit or default template arguments. We were
already doing the right thing for explicit arguments, but still needed
to do the conversion for default arguments.
Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 37766.patch
Type: text/x-patch
Size: 2099 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091012/d6a955a2/attachment.bin>
More information about the Gcc-patches
mailing list