Timon: > From higher to lower, where relational ops are unordered with respect to > bitwise ops (this is the reason comparisons would have to be wrapped in > parentheses in D as well): > > ! > => (not a real operator, occurs twice this is binding power to the left) > . ++ -- ( [ > ^^ (right-associative) > & ++ -- * - + ! ~ (prefix) > * / % > + - ~ > << >> >>> > == != > < >= <= !> !< !>= !<= <> !<> <>= !<>= in !in is !is > & > ^ > | > && > || > ? (right-associative) > /= &= |= -= += <<= >>= >>>= = *= %= ^= ^^= ~= (right-associative) > => (not a real operator, occurs twice, this is binding power to the right) > , > .. (not a real operator)
Thanks a lot Timon! => is indeed a strange beast. Any possibility to put that on a wiki page or the dlang.org on operator overloading?