This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10273: g++ fails to compile sort() with a template operator that takes a pointer
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 31 Mar 2003 10:06:02 -0000
- Subject: Re: c++/10273: g++ fails to compile sort() with a template operator that takes a pointer
- Reply-to: Gabriel Dos Reis <gdr at integrable-solutions dot net>
The following reply was made to PR c++/10273; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
To: darrenr at optimation dot com dot au
Cc: gcc-gnats at gcc dot gnu dot org
Subject: Re: c++/10273: g++ fails to compile sort() with a template operator that takes a pointer
Date: 31 Mar 2003 12:00:28 +0200
darrenr at optimation dot com dot au writes:
| template <class ClassName *> struct xLess :
^^^^^^^^^^^^^^^^^^
That is an invalid template parameter declaration.
-- Gaby