This is the mail archive of the gcc-prs@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: c++/10273: g++ fails to compile sort() with a template operator that takes a pointer


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


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