Architecture Diagram
C++ OPERATOR PRECEDENCE (HIGHEST TO LOWEST):
┌──────┬────────────────────────┬────────────────────────────────────────┐
│ Level│ Operators │ Category │
├──────┼────────────────────────┼────────────────────────────────────────┤
│ 1 │ :: │ Scope Resolution │
│ 2 │ () [] . -> ++ -- (post)│ Member access, function call, postfix │
│ 3 │ ++ -- (pre) + - ! ~ * &│ Unary prefix, address-of, dereference │
│ 4 │ .* ->* │ Pointer-to-member │
│ 5 │ * / % │ Multiplicative arithmetic │
│ 6 │ + - │ Additive arithmetic │
│ 7 │ > │ Bitwise shift / Stream insertion │
│ 8 │ │ Three-way comparison (C++20 Spaceship) │
│ 9 │ < >= │ Relational comparisons │
│ 10 │ == != │ Equality tests │
│ 11 │ & │ Bitwise AND │
│ 12 │ ^ │ Bitwise XOR │
│ 13 │ | │ Bitwise OR │
│ 14 │ && │ Logical AND (short-circuiting) │
│ 15 │ || │ Logical OR (short-circuiting) │
│ 16 │ ?: │ Conditional Ternary │
│ 17 │ = += -= *= /= %= etc. │ Assignment operators │
└──────┴────────────────────────┴────────────────────────────────────────┘