OSDN Git Service

PR ada/52494
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-cgcaso.ads
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 ------------------------------------------------------------------------------
15
16 generic
17    type Index_Type is (<>);
18    type Element_Type is private;
19    type Array_Type is array (Index_Type) of Element_Type;
20
21    with function "<" (Left, Right : Element_Type)
22      return Boolean is <>;
23
24 procedure Ada.Containers.Generic_Constrained_Array_Sort
25   (Container : in out Array_Type);
26
27 pragma Pure (Ada.Containers.Generic_Constrained_Array_Sort);