摺疊表達
以下運算子支援摺疊表示式
| | | | | | | | | | | | | | —- | —- | —- | — | — | —- | – | — | —— | —— | ——– | | | + | - | * | / | % | \ | & | | | << | >> | | | | += | -= | * = | / = | %= | \= | &= | | = | << = | >> = | = | | | == | != | < | > | <= | > = | && | || | , | .* | ->* | |
摺疊空序列時,摺疊表示式格式不正確,但以下三個運算子除外:
操作符 | 引數包為空時的值 |
---|---|
&& | True |
, | void() |