gcc/
[official-gcc.git] / gcc / ada / a-cgcaso.ads
blob39ebee61b5f0fa28595d911cd47061d5e75aa98d
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT LIBRARY COMPONENTS --
4 -- --
5 -- ADA.CONTAINERS.GENERIC_CONSTRAINED_ARRAY_SORT --
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 generic
17 type Index_Type is (<>);
18 type Element_Type is private;
19 type Array_Type is array (Index_Type) of Element_Type;
21 with function "<" (Left, Right : Element_Type)
22 return Boolean is <>;
24 procedure Ada.Containers.Generic_Constrained_Array_Sort
25 (Container : in out Array_Type);
27 pragma Pure (Ada.Containers.Generic_Constrained_Array_Sort);