@MISC{Ditchfield96anoverview, author = {Glen Ditchfield}, title = {An Overview of Cforall}, year = {1996} }
Bookmark
OpenURL
Abstract
signment for the implementation type. (Assignment between structs copies each non-array member and each element of each array member, using the appropriate assignment operator for each data item.) Complex i = f 0.0, 1.0 g; double abs(Complex c) f return sqrt(c.re*c.re + c.im*c.im); g type is not itself a type; type declarations just look like ordinary declarations. Type declarations are allowed in the declaration lists of blocks and translation units, and in forall specifiers and specification definitions (see below). They are not allowed in structs or function parameter lists, and there are no pointers to types, functions returning types, or arrays of types. 1 Here "object" has the same sense as it does in the C standard: a region of memory containing a value. 2 3 POLYMORPHIC FUNCTIONS 1.1 Opaque Types type differ