2015-05-20 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / gcc / ada / a-cgarso.ads
blob77281b5ef454c31a5019e72cb9b86b134921c526
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT LIBRARY COMPONENTS --
4 -- --
5 -- A D A . C O N T A I N E R S . G E N E R I C _ A R R A Y _ S O R T --
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 range <>) of Element_Type;
21 with function "<" (Left, Right : Element_Type)
22 return Boolean is <>;
24 procedure Ada.Containers.Generic_Array_Sort (Container : in out Array_Type);
26 pragma Pure (Ada.Containers.Generic_Array_Sort);