This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revision Both sides next revision | ||
|
cpp:operators [2017/04/10 03:42] gthanos created |
cpp:operators [2017/04/10 04:47] gthanos |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ^ Level | ^ Level | ||
| | 1 | Scope | :: | scope qualifier | | 1 | Scope | :: | scope qualifier | ||
| - | | 2 | Postfix (unary) | + | | 2 | Postfix (unary) |
| | ::: | ::: | () | functional forms | ::: | | | ::: | ::: | () | functional forms | ::: | | ||
| | ::: | ::: | [] | subscript | | ::: | ::: | [] | subscript | ||
| Line 15: | Line 15: | ||
| | ::: | ::: | new delete | | ::: | ::: | new delete | ||
| | ::: | ::: | sizeof | | ::: | ::: | sizeof | ||
| - | (type) | + | | ::: | ::: | (type) |
| - | 4 Pointer-to-member | + | | |
| - | 5 Arithmetic: scaling | + | | |
| - | 6 Arithmetic: addition | + | | |
| - | 7 Bitwise shift << >> | + | | |
| - | 8 Relational | + | | |
| - | 9 Equality | + | | |
| - | 10 And & bitwise AND Left-to-right | + | | 10 |
| - | 11 Exclusive or ^ bitwise XOR Left-to-right | + | | 11 |
| - | 12 Inclusive or | bitwise OR Left-to-right | + | | 12 |
| - | 13 Conjunction | + | | 13 |
| - | 14 Disjunction | + | | 14 |
| - | 15 Assignment-level expressions | + | | 15 |
| - | >>= <<= &= ^= |= assignment / compound assignment | + | | ::: | ::: | ?: | conditional operator |
| - | ?: conditional operator | + | |16 | Sequencing |
| - | 16 Sequencing | + | |