This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Template template parameter conformace issue (PR9737)
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: <lerdsuwa at users dot sourceforge dot net>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: 18 Apr 2003 17:08:32 +0200
- Subject: Re: [C++ PATCH] Template template parameter conformace issue (PR9737)
- Organization: Integrable Solutions
- References: <Pine.LNX.4.33.0304182156330.31537-100000@localhost.localdomain>
Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net> writes:
[...]
| However, this new behavior makes template template parameter
| feature rather useless when used together with standard C++ library
| classes.
That is a matter of personnal taste ;-)
Andrei has demonstrated that template-template parameters are useful
(even though one might simulate them). The template-aliasing
proposal we worked on at the last WG21 removes the need for the old
non-conformant behaviour.
| So an option `-fweak-template-templates' is also
| introduced to weaken the parameter/argument matching rule to
| allow the old behavior.
Does it worth it?
-- Gaby