/share/misc/operator

https://bitbucket.org/freebsd/freebsd-head/ · #! · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · 342b18db29b5d12dd4f7d2641d2972bc MD5 · raw file

  1. Operator Associativity
  2. -------------------------------------------------------------
  3. () [] -> . left to right
  4. ! ~ ++ -- - (type) * & sizeof new delete right to left
  5. ->* .* left to right
  6. * / % left to right
  7. + - left to right
  8. << >> left to right
  9. < <= > >= left to right
  10. == != left to right
  11. & left to right
  12. ^ left to right
  13. | left to right
  14. && left to right
  15. || left to right
  16. ?: right to left
  17. = += -= *= /= %= <<= >>= &= ^= |= throw right to left
  18. ?: (C++, third operand) right to left
  19. , left to right
  20. $FreeBSD$