28 lines
1.4 KiB
Ada
28 lines
1.4 KiB
Ada
|
------------------------------------------------------------------------------
|
||
|
-- --
|
||
|
-- GNAT LIBRARY COMPONENTS --
|
||
|
-- --
|
||
|
-- ADA.CONTAINERS.GENERIC_CONSTRAINED_ARRAY_SORT --
|
||
|
-- --
|
||
|
-- S p e c --
|
||
|
-- --
|
||
|
-- This specification is derived 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);
|