1 ------------------------------------------------------------------------------
3 -- GNAT LIBRARY COMPONENTS --
5 -- A D A . C O N T A I N E R S --
9 -- This specification is derived from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
14 ------------------------------------------------------------------------------
16 package Ada
.Containers
is
19 type Hash_Type
is mod 2**32;
20 -- Represents the range of the result of a hash function
22 type Count_Type
is range 0 .. 2**31 - 1;
23 -- Represents the (potential or actual) number of elements of a container
25 Capacity_Error
: exception;
26 -- Raised when the capacity of a container is exceeded