折叠表达
以下运算符支持折叠表达式
| | | | | | | | | | | | | | —- | —- | —- | — | — | —- | – | — | —— | —— | ——– | | | + | - | * | / | % | \ | & | | | << | >> | | | | += | -= | * = | / = | %= | \= | &= | | = | << = | >> = | = | | | == | != | < | > | <= | > = | && | || | , | .* | ->* | |
折叠空序列时,折叠表达式格式不正确,但以下三个运算符除外:
操作符 | 参数包为空时的值 |
---|---|
&& | True |
, | void() |