A.18.16 The Generic Package Containers.Indefinite_Ordered_Sets
The language-defined generic package Containers.Indefinite_Ordered_Sets
provides a set with the same operations as the package Containers.Ordered_Sets
), with the difference that the
generic formal type Element_Type is indefinite.
The declaration of the generic library package Containers.Indefinite_Ordered_Sets
has the same contents and semantics as Containers.Ordered_Sets except:
The generic formal Element_Type is indefinite.
The actual Element parameter of access subprogram
Process of Update_Element_Preserving_Key may be constrained even if Element_Type
The operations Include, Insert, Replace, Replace_Element,
and To_Set that have a formal parameter of type Element_Type perform
indefinite insertion (see A.18).
includes the procedure Replace declared in the nested generic package
Generic_Keys, as well as the routines declared directly in the Containers.Indefinite_Ordered_Sets
Extensions to Ada 95
The generic package Containers.Indefinite_Ordered_Sets
Inconsistencies With Ada 2012
some routines to “perform indefinite insertion”. This could
mean that some calls to those routines would now raise Program_Error
where they previously worked. However, this is extremely unlikely; see
Inconsistencies With Ada 2012 in A.18.11
Ada 2005 and 2012 Editions sponsored in part by Ada-Europe