Array
struct Array<T, int N>
A fixed-size array holding N elements of type
T.
Unlike List, the size is part of the type, so arrays of
different sizes are different types. Array literals convert to arrays
when the size matches. The compiler lowers this fieldless declaration to
the native fixed-array representation, so Array<T, N>
and T[N] denote the same type.
size
int size()Returns the number of elements.
data
T[*] data()Returns a pointer to the first element.
iterator
ArrayIterator<T> iterator()Returns an iterator over the elements.