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

Jonathan Wakely jwakely@redhat.com
Mon Aug 4 19:00:00 GMT 2014


On 10/06/14 19:09 +0100, Jonathan Wakely wrote:
>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.
>

>    	PR libstdc++/61390
>    	* include/ext/pb_ds/detail/bin_search_tree_/traits.hpp
>    	(bin_search_tree_traits): Do not redeclare template-parameters.
>    	* testsuite/util/testsuite_iterators.h (test_container): Likewise.

Committed to the 4.9 branch too.



More information about the Libstdc++ mailing list