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.

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.