Next: , Previous: Array References, Up: Arrays


4.6 Aggregates

For convenience, we often want to reference a collection of instances or expressions, and group them into the same entity. This section describes the various modes of aggregate references supported by the HAC language.

complex-expr-term : array-construction | loop-concatenation | simple-expr

(Here, simple-expr is actually a shift-expr in the grammar, to eliminate ambiguity with repsect to the < and > operators, which also wrap around template arguments.)

The following subsections explain the various array-related constructs.