c++: diagnose usage of co_await and co_yield in default args [PR115906]
[official-gcc.git] / gcc / ada / libgnat / a-contai.ads
blobd6189a3065091f84db507e2a277780c550d3402f
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 ------------------------------------------------------------------------------
16 package Ada.Containers is
17 pragma Pure;
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
28 end Ada.Containers;