upc_elemsizeof

Date:

06-15-2011

NAME

upc_elemsizeof - Returns size of highest-level (leftmost) type that is not an array

SYNOPSIS

upc_elemsizeof unary-expression

upc_elemsizeof (type-name)

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The upc_elemsizeof operator returns the size, in bytes, of the highest-level (leftmost) type that is not an array. For non-array objects, upc_elemsizeof returns the same value as sizeof.

The type of the result is size_t.

The upc_elemsizeof operator applies only to shared objects or shared-qualified types. The upc_elemsizeof operator cannot be applied to an expression that has function type or an incomplete type, to the parenthesized name of such a type, or to an L-value that designates a bit-field object.

SEE ALSO

upc_blocksizeof(3c), upc_localsizeof(3c)