This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]