
Untitled
By: a guest on
Nov 14th, 2012 | syntax:
None | size: 0.50 KB | hits: 26 | expires: Never
package Inst is new Generic_Package(This => That);
type My_Type is
record
Range_Begin : Natural := 1;
Range_End : Natural := 15_000_000;
end record;
type My_Type_Access is access all My_Type;
My_Object1 : My_Type_Access := new My_Type; -- instantiation of My_Type
-- to create My_Object1
My_Array_Objects : array (Positive range 1 .. 250_000) of My_Type_Access :=
(others => new My_Type); -- creates an array of objects of My_Type