413
备注:
|
← 于2008-02-23 15:35:57修订的的版本3 ⇥
456
converted to 1.6 markup
|
删除的内容标记成这样。 | 加入的内容标记成这样。 |
行号 1: | 行号 1: |
## page was renamed from TCPL/A.7.5 Casts |
A.7.5 Casts
A unary expression preceded by the parenthesized name of a type causes conversion of the value of the expression to the named type.
- cast-expression:
- unary expression (type-name) cast-expression
This construction is called a cast. The names are described in Par.A.8.8. The effects of conversions are described in Par.A.6. An expression with a cast is not an lvalue.