This is the mail archive of the gcc-bugs@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]

Re: Bogus name lookup by overloaded operators


>>>>> "Martin" == Martin v Loewis <martin@loewis.home.cs.tu-berlin.de> writes:

    >> Thus I think the lookup rules should be adjusted in such a way that
    >> unary and binary operators that PURELY OCCASIONALLY but UNAVOIDABLY
    >> share the same operation sign, are treated as different and mutually
    >> independent names.

    Martin> Please understand that the g++ developers feel more bound to the
    Martin> ISO standard than to your opinion.

It's perfectly clear. I don't pretend to put my opinion above the standard. I
just wanted to draw your attention to the fact that this issue is handled
rather unprecisely in the standard (whether purposely or through oversight - I
can't judge). At any rate, it seems to leave some free space for the
implementors. My intention was to suggest how to fill this uncertainty in a
reasonable manner.

    Martin> As we've discussed before, discussing such a change is more
    Martin> appropriate in the C++ fora than on egcs-bugs.

Is there some comfortable means to re-post the entire thread in another news
group? Some kind of digest or so?

With best regards,
Ewgenij Gawrilow
Dept. of Mathematics, Technical University of Berlin

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