| 1 |
------------------------------------------------------------------------------ |
| 2 |
-- -- |
| 3 |
-- GNAT LIBRARY COMPONENTS -- |
| 4 |
-- -- |
| 5 |
-- A D A . C O N T A I N E R S -- |
| 6 |
-- -- |
| 7 |
-- S p e c -- |
| 8 |
-- -- |
| 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. -- |
| 13 |
-- -- |
| 14 |
------------------------------------------------------------------------------ |
| 15 |
|
| 16 |
package Ada.Containers is |
| 17 |
pragma Pure; |
| 18 |
|
| 19 |
type Hash_Type is mod 2**32; |
| 20 |
-- Represents the range of the result of a hash function |
| 21 |
|
| 22 |
type Count_Type is range 0 .. 2**31 - 1; |
| 23 |
-- Represents the (potential or actual) number of elements of a container |
| 24 |
|
| 25 |
Capacity_Error : exception; |
| 26 |
-- Raised when the capacity of a container is exceeded |
| 27 |
|
| 28 |
end Ada.Containers; |