cpp:operators
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cpp:operators [2017/04/10 03:58] – gthanos | cpp:operators [2024/04/24 09:51] (current) – gthanos | ||
---|---|---|---|
Line 4: | Line 4: | ||
^ Level | ^ Level | ||
- | | 1 | Scope | :: | scope qualifier | + | | 1 | Scope | '' |
- | | 2 | Postfix (unary) | + | | 2 | Postfix (unary) |
- | | ::: | ::: | () | functional forms | ::: | | + | | ::: | ::: | '' |
- | | ::: | ::: | [] | subscript | + | | ::: | ::: | '' |
- | | ::: | ::: | . -> | member access | ::: | | + | | ::: | ::: | '' |
- | | 3 | Prefix (unary) | ++ -- | prefix increment / decrement | Right-to-left | | + | | 3 | Prefix (unary) | '' |
- | | ::: | ::: | ~ ! | bitwise NOT / logical NOT | ::: | | + | | ::: | ::: | '' |
- | | ::: | ::: | + - | unary prefix | ::: | | + | | ::: | ::: | '' |
- | | ::: | ::: | & * | reference / dereference | ::: | | + | | ::: | ::: | '' |
- | | ::: | ::: | new delete | + | | ::: | ::: | '' |
- | | ::: | ::: | sizeof | + | | ::: | ::: | '' |
- | | ::: | ::: | (type) | + | | ::: | ::: | '' |
- | | 4 | Pointer-to-member | + | | 4 | Pointer-to-member |
- | | 5 | Arithmetic: scaling | + | | 5 | Arithmetic: scaling |
- | | 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 |
- | | 11 | Exclusive or | %%^%% | bitwise XOR | Left-to-right | + | | 11 | Exclusive or |
- | | 12 | Inclusive or | %%|%% | bitwise OR | Left-to-right | + | | 12 | Inclusive or |
- | | 13 | Conjunction | + | | 13 | Conjunction |
- | | 14 | Disjunction | + | | 14 | Disjunction |
- | | 15 | Assignment-level expressions | + | | 15 | Assignment-level expressions |
- | | ::: | ::: | ?: | conditional operator | ::: | | + | | ::: | ::: | '' |
- | |16 | Sequencing | + | |16 | Sequencing |
cpp/operators.1491796694.txt.gz · Last modified: 2017/04/10 02:58 (external edit)