Ada Reference Manual (Ada 2022)Legal Information
Contents   Index   References   Search   Previous   Next 

A.18.13 The Generic Package Containers.Indefinite_Hashed_Maps

1/2
The language-defined generic package Containers.Indefinite_Hashed_Maps provides a map with the same operations as the package Containers.Hashed_Maps (see A.18.5), with the difference that the generic formal types Key_Type and Element_Type are indefinite. 

Static Semantics

2/3
The declaration of the generic library package Containers.Indefinite_Hashed_Maps has the same contents and semantics as Containers.Hashed_Maps except:
3/2
The generic formal Key_Type is indefinite.
4/2
The generic formal Element_Type is indefinite.
5/2
The procedure with the profile: 
6/2
procedure Insert (Container : in out Map;
                  Key       : in     Key_Type;
                  Position  :    out Cursor;
                  Inserted  :    out Boolean);
7/2
is omitted.
8/2
The actual Element parameter of access subprogram Process of Update_Element may be constrained even if Element_Type is unconstrained.
9/4
The operations Include, Insert, Replace, and Replace_Element that have a formal parameter of type Element_Type perform indefinite insertion (see A.18). 
10/5
The description of Tampering_With_Elements_Prohibited is replaced by:
11/5
Returns True if tampering with elements is prohibited for Container, and False otherwise. 
12/5
Tampering_With_Cursors_Prohibited is replaced by Tampering_With_Elements_Prohibited in the postcondition for the operations Reference and Constant_Reference.
13/5
The operations Replace and Replace_Element are omitted from the nested package Stable.

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe