Tipos como parámetros formales genéricos

Explicación

.

Sintaxis

formal_type_declaration ::=
   type defining_identifier[discriminant_part] is formal_type_definition;
 

formal_type_definition ::=

    formal_private_type_definition | formal_derived_type_definition
  | formal_discrete_type_definition | formal_signed_integer_type_definition
  | formal_modular_type_definition  | formal_floating_point_definition
  | formal_ordinary_fixed_point_definition | formal_decimal_fixed_point_definition
  | formal_array_type_definition | formal_access_type_definition | formal_interface_type_definition

Ejemplo

generic
   type Elemento is private;