summaryrefslogtreecommitdiff
path: root/gcc/ada/a-cgcaso.ads
blob: c165032ad4f5c214c3b9126884f3f3a2b51db4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
------------------------------------------------------------------------------
--                                                                          --
--                         GNAT LIBRARY COMPONENTS                          --
--                                                                          --
--                      A D A . C O N T A I N E R S .                       --
--       G E N E R I C _ C O N S T R A I N E D _ A R R A Y _ S O R T        --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
-- This specification is adapted from the Ada Reference Manual for use with --
-- GNAT.  In accordance with the copyright of that document, you can freely --
-- copy and modify this specification,  provided that if you redistribute a --
-- modified version,  any changes that you have made are clearly indicated. --
--                                                                          --
------------------------------------------------------------------------------

generic
   type Index_Type is (<>);
   type Element_Type is private;
   type Array_Type is array (Index_Type) of Element_Type;

   with function "<" (Left, Right : Element_Type)
     return Boolean is <>;

procedure Ada.Containers.Generic_Constrained_Array_Sort
  (Container : in out Array_Type);

pragma Pure (Ada.Containers.Generic_Constrained_Array_Sort);