Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kCast (   TYPE,
  ITEM 
)    kCast_(TYPE, ITEM)

Casts the ITEM argument to the specified TYPE.

Equivalent (TYPE)(ITEM).

This macro is guaranteed to evaluate its arguments only once.

Parameters
TYPEType to which the item is cast.
ITEMValue to be cast.
Returns
Result of the cast.