This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __op ? with gcc/egcs
- To: alain at qnx dot com (Alain Magloire)
- Subject: Re: __op ? with gcc/egcs
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Tue, 23 Jun 98 16:20:50 PDT
- Cc: egcs at cygnus dot com
> Did I missed something obvious ?
> Is ``__op'', a reserved word with egcs/g++ ?
*All* identifiers with two leading underscores are reserved to the
implementation, for any C or C++ compiler. If you use any such names
and you aren't writing the standard C or C++ library, you're violating
the standard. So don't do that!
g++ uses some names of this form for overloaded operators. I'm not
sure what __op is.