[Bug c++/38005] inconsistent precedence of operators in namespaces
c dot hite at rtsgroup dot net
gcc-bugzilla@gcc.gnu.org
Tue Nov 4 17:11:00 GMT 2008
------- Comment #10 from c dot hite at rtsgroup dot net 2008-11-04 17:10 -------
So you're saying this isn't a bug because G++ does what it does?
Is there no standard specifying what should happen? I would like to think if
two different compilers produce different results, one of them has a bug.
Would you say Sun has a bug?
As far as I'm concerned, it's best to define the operator in the same namespace
as its operands.
I'm willing to give up. Thanks for your time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38005
More information about the Gcc-bugs
mailing list