This is the mail archive of the gcc@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] |
On Wed, Aug 07, 2002 at 06:55:09PM +0200, Lassi A. Tuura wrote: > By my reading all of the below are legitimate C++. Is this a > bug in GCC 3.1 handling of using-declarations at function scope? > > #include <utility> > struct I { bool operator== (const I &) const; }; > void f () { using std::rel_ops::operator!=; I i; i != i; } As the specs allow operator-function-id here, I think you are right. You should file a bug report. Robert -- Robert Schiele Tel.: +49-621-181-2517 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
Attachment:
msg00424/pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |