版本2和3间的区别
于2007-07-19 07:38:32修订的的版本2
大小: 456
编辑: czk
备注:
于2008-02-23 15:35:57修订的的版本3
大小: 456
编辑: localhost
备注: converted to 1.6 markup
未发现区别!

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.

TCPL/A.07.05_Casts (2008-02-23 15:35:57由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.