formal_array_type_definition ::= array_type_definition
-- given the generic package
generic type Item is private; type Index is (<>); type Vector is array (Index range <>) of Item; type Table is array (Index) of Item; package P is ... end P;
-- and the types
type Mix is array (Color range <>) of Boolean; type Option is array (Color) of Boolean;
-- then Mix can match Vector and Option can match Table
package R is new P(Item => Boolean, Index => Color, Vector => Mix, Table => Option);
-- Note that Mix cannot match Table and Option cannot match Vector
Go to the first, previous, next, last section, table of contents.