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