[patch] libstdc++/61390 don't redeclare template-parameters

Jonathan Wakely jwakely@redhat.com
Tue Jun 10 18:10:00 GMT 2014


Yo dawg, I heard you like templates, so I renamed the
template-parameters of your template template-parameters so they are
not the same as the template-parameters of your templates.

G++ fails to diagnose this (PR17267) but Clang gives an error and EDG
gives a warning.

Tested x86_64-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140610/443a2366/attachment.bin>


More information about the Libstdc++ mailing list