This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs1.1 : nested template template parameter
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: egcs1.1 : nested template template parameter
- From: Luc Bourhis <Luc dot Bourhis at durham dot ac dot uk>
- Date: Tue, 03 Nov 1998 16:56:08 +0000
- Cc: egcs at cygnus dot com
- Organization: Centre for Particle Theory, University of Durham, UK
- References: <363B5B97.7ED8E5C6@durham.ac.uk> <199811010941.KAA02146@mira.isdn.cs.tu-berlin.de>
Martin von Loewis wrote :
>> template< template< template<class> class > class Tmpl> A {};
>[...]
>> I think that this construction is allowed by the ANSI C++.
>
>No, it is not. What you meant is
>
>template< template< template<class> class > class Tmpl> class A {};
>
>I could compile that with egcs 2.92.17.
sorry, I forgot the "class" before A in my posting (but not in my
program).
But Kriang Lerdsuwanakij wrote :
>That special use of template template parameter is still not
>implemented. All instantiation of such templates is currently flagged
>as error. Unfortunately I am very busy so that I won't have time to
>implement that for a while. Unless someone else work on it, expect
>something about 3 months as the worst case.
and this seems to contradict the posting of Martin : who is right ?
--
Luc Bourhis
Center for Particle Theory
University of Durham, UK