Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /charles/src/ai302/

charles
Discussion topic

Back to topic list

CVS update: /charles/src/ai302/

Reply

Author matthewjheaney
Full name Matthew Heaney
Date 2005-05-15 16:06:22 PDT
Message User: matthewjheaney
Date: 2005/05/15 16:06:22

Modified:
   charles/src/ai302/a-cidlli.ads

Log:
 added generic_sorting nested package, per post-boston api

File Changes:

Directory: /charles/src/ai302/
==============================

File [changed]: a-cidlli.ads
Url: http://charles.tigri​s.org/source/browse/​charles/src/ai302/a-​cidlli.ads?r1=1.7​&r2=1.8
Delta lines: +9 -8
-------------------
--- a-cidlli.ads 10 Apr 2005 15:18:18 -0000 1.7
+++ a-cidlli.ads 15 May 2005 23:06:20 -0000 1.8
@@ -106,15 +106,16 @@
                           Count : in Count_Type := 1);
 
    generic
- with function "<" (Left, Right : Element_Type)
- return Boolean is <>;
- procedure Generic_Sort (Container : in out List);
+ with function "<" (Left, Right : Element_Type) return Boolean is <>;
+ package Generic_Sorting is
 
- generic
- with function "<" (Left, Right : Element_Type)
- return Boolean is <>;
- procedure Generic_Merge (Target : in out List;
- Source : in out List);
+ function Is_Sorted (Container : List) return Boolean;
+
+ procedure Sort (Container : in out List);
+
+ procedure Merge (Target, Source : in out List);
+
+ end Generic_Sorting;
 
    procedure Reverse_List (Container : in out List);

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /charles/src/ai302/ matthewjheaney Matthew Heaney 2005-05-15 16:06:22 PDT
Messages per page: