Ada95 Reference Manual - 12 Generic Units Go to the first , previous , next , last section, table of contents . A generic unit is a program unit that is either a generic subprogram or a generic package. The resulting program units are said to be instances of the original generic unit. An instance of a generic subprogram is a subprogram. An instance of a generic package is a package.
Generic units are templates.
As templates they do not have the properties that are specific to their nongeneric counterparts. For example, a generic subprogram can be instantiated but it cannot be called. Go to the first , previous , next , last section, table of contents .