annotate gcc/ada/libgnat/a-ciorma.ads @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT LIBRARY COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
5 -- ADA.CONTAINERS.INDEFINITE_ORDERED_MAPS --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- S p e c --
kono
parents:
diff changeset
8 -- --
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
9 -- Copyright (C) 2004-2018, Free Software Foundation, Inc. --
111
kono
parents:
diff changeset
10 -- --
kono
parents:
diff changeset
11 -- This specification is derived from the Ada Reference Manual for use with --
kono
parents:
diff changeset
12 -- GNAT. The copyright notice above, and the license provisions that follow --
kono
parents:
diff changeset
13 -- apply solely to the contents of the part following the private keyword. --
kono
parents:
diff changeset
14 -- --
kono
parents:
diff changeset
15 -- GNAT is free software; you can redistribute it and/or modify it under --
kono
parents:
diff changeset
16 -- terms of the GNU General Public License as published by the Free Soft- --
kono
parents:
diff changeset
17 -- ware Foundation; either version 3, or (at your option) any later ver- --
kono
parents:
diff changeset
18 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
kono
parents:
diff changeset
19 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
kono
parents:
diff changeset
20 -- or FITNESS FOR A PARTICULAR PURPOSE. --
kono
parents:
diff changeset
21 -- --
kono
parents:
diff changeset
22 -- As a special exception under Section 7 of GPL version 3, you are granted --
kono
parents:
diff changeset
23 -- additional permissions described in the GCC Runtime Library Exception, --
kono
parents:
diff changeset
24 -- version 3.1, as published by the Free Software Foundation. --
kono
parents:
diff changeset
25 -- --
kono
parents:
diff changeset
26 -- You should have received a copy of the GNU General Public License and --
kono
parents:
diff changeset
27 -- a copy of the GCC Runtime Library Exception along with this program; --
kono
parents:
diff changeset
28 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
kono
parents:
diff changeset
29 -- <http://www.gnu.org/licenses/>. --
kono
parents:
diff changeset
30 -- --
kono
parents:
diff changeset
31 -- This unit was originally developed by Matthew J Heaney. --
kono
parents:
diff changeset
32 ------------------------------------------------------------------------------
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 with Ada.Iterator_Interfaces;
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 private with Ada.Containers.Red_Black_Trees;
kono
parents:
diff changeset
37 private with Ada.Finalization;
kono
parents:
diff changeset
38 private with Ada.Streams;
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 generic
kono
parents:
diff changeset
41 type Key_Type (<>) is private;
kono
parents:
diff changeset
42 type Element_Type (<>) is private;
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 with function "<" (Left, Right : Key_Type) return Boolean is <>;
kono
parents:
diff changeset
45 with function "=" (Left, Right : Element_Type) return Boolean is <>;
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 package Ada.Containers.Indefinite_Ordered_Maps is
kono
parents:
diff changeset
48 pragma Annotate (CodePeer, Skip_Analysis);
kono
parents:
diff changeset
49 pragma Preelaborate;
kono
parents:
diff changeset
50 pragma Remote_Types;
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 function Equivalent_Keys (Left, Right : Key_Type) return Boolean;
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 type Map is tagged private
kono
parents:
diff changeset
55 with Constant_Indexing => Constant_Reference,
kono
parents:
diff changeset
56 Variable_Indexing => Reference,
kono
parents:
diff changeset
57 Default_Iterator => Iterate,
kono
parents:
diff changeset
58 Iterator_Element => Element_Type;
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 pragma Preelaborable_Initialization (Map);
kono
parents:
diff changeset
61
kono
parents:
diff changeset
62 type Cursor is private;
kono
parents:
diff changeset
63 pragma Preelaborable_Initialization (Cursor);
kono
parents:
diff changeset
64
kono
parents:
diff changeset
65 Empty_Map : constant Map;
kono
parents:
diff changeset
66
kono
parents:
diff changeset
67 No_Element : constant Cursor;
kono
parents:
diff changeset
68 function Has_Element (Position : Cursor) return Boolean;
kono
parents:
diff changeset
69
kono
parents:
diff changeset
70 package Map_Iterator_Interfaces is new
kono
parents:
diff changeset
71 Ada.Iterator_Interfaces (Cursor, Has_Element);
kono
parents:
diff changeset
72
kono
parents:
diff changeset
73 function "=" (Left, Right : Map) return Boolean;
kono
parents:
diff changeset
74
kono
parents:
diff changeset
75 function Length (Container : Map) return Count_Type;
kono
parents:
diff changeset
76
kono
parents:
diff changeset
77 function Is_Empty (Container : Map) return Boolean;
kono
parents:
diff changeset
78
kono
parents:
diff changeset
79 procedure Clear (Container : in out Map);
kono
parents:
diff changeset
80
kono
parents:
diff changeset
81 function Key (Position : Cursor) return Key_Type;
kono
parents:
diff changeset
82
kono
parents:
diff changeset
83 function Element (Position : Cursor) return Element_Type;
kono
parents:
diff changeset
84
kono
parents:
diff changeset
85 procedure Replace_Element
kono
parents:
diff changeset
86 (Container : in out Map;
kono
parents:
diff changeset
87 Position : Cursor;
kono
parents:
diff changeset
88 New_Item : Element_Type);
kono
parents:
diff changeset
89
kono
parents:
diff changeset
90 procedure Query_Element
kono
parents:
diff changeset
91 (Position : Cursor;
kono
parents:
diff changeset
92 Process : not null access procedure (Key : Key_Type;
kono
parents:
diff changeset
93 Element : Element_Type));
kono
parents:
diff changeset
94
kono
parents:
diff changeset
95 procedure Update_Element
kono
parents:
diff changeset
96 (Container : in out Map;
kono
parents:
diff changeset
97 Position : Cursor;
kono
parents:
diff changeset
98 Process : not null access procedure (Key : Key_Type;
kono
parents:
diff changeset
99 Element : in out Element_Type));
kono
parents:
diff changeset
100
kono
parents:
diff changeset
101 type Constant_Reference_Type
kono
parents:
diff changeset
102 (Element : not null access constant Element_Type) is private
kono
parents:
diff changeset
103 with
kono
parents:
diff changeset
104 Implicit_Dereference => Element;
kono
parents:
diff changeset
105
kono
parents:
diff changeset
106 type Reference_Type (Element : not null access Element_Type) is private
kono
parents:
diff changeset
107 with
kono
parents:
diff changeset
108 Implicit_Dereference => Element;
kono
parents:
diff changeset
109
kono
parents:
diff changeset
110 function Constant_Reference
kono
parents:
diff changeset
111 (Container : aliased Map;
kono
parents:
diff changeset
112 Position : Cursor) return Constant_Reference_Type;
kono
parents:
diff changeset
113 pragma Inline (Constant_Reference);
kono
parents:
diff changeset
114
kono
parents:
diff changeset
115 function Reference
kono
parents:
diff changeset
116 (Container : aliased in out Map;
kono
parents:
diff changeset
117 Position : Cursor) return Reference_Type;
kono
parents:
diff changeset
118 pragma Inline (Reference);
kono
parents:
diff changeset
119
kono
parents:
diff changeset
120 function Constant_Reference
kono
parents:
diff changeset
121 (Container : aliased Map;
kono
parents:
diff changeset
122 Key : Key_Type) return Constant_Reference_Type;
kono
parents:
diff changeset
123 pragma Inline (Constant_Reference);
kono
parents:
diff changeset
124
kono
parents:
diff changeset
125 function Reference
kono
parents:
diff changeset
126 (Container : aliased in out Map;
kono
parents:
diff changeset
127 Key : Key_Type) return Reference_Type;
kono
parents:
diff changeset
128 pragma Inline (Reference);
kono
parents:
diff changeset
129
kono
parents:
diff changeset
130 procedure Assign (Target : in out Map; Source : Map);
kono
parents:
diff changeset
131
kono
parents:
diff changeset
132 function Copy (Source : Map) return Map;
kono
parents:
diff changeset
133
kono
parents:
diff changeset
134 procedure Move (Target : in out Map; Source : in out Map);
kono
parents:
diff changeset
135
kono
parents:
diff changeset
136 procedure Insert
kono
parents:
diff changeset
137 (Container : in out Map;
kono
parents:
diff changeset
138 Key : Key_Type;
kono
parents:
diff changeset
139 New_Item : Element_Type;
kono
parents:
diff changeset
140 Position : out Cursor;
kono
parents:
diff changeset
141 Inserted : out Boolean);
kono
parents:
diff changeset
142
kono
parents:
diff changeset
143 procedure Insert
kono
parents:
diff changeset
144 (Container : in out Map;
kono
parents:
diff changeset
145 Key : Key_Type;
kono
parents:
diff changeset
146 New_Item : Element_Type);
kono
parents:
diff changeset
147
kono
parents:
diff changeset
148 procedure Include
kono
parents:
diff changeset
149 (Container : in out Map;
kono
parents:
diff changeset
150 Key : Key_Type;
kono
parents:
diff changeset
151 New_Item : Element_Type);
kono
parents:
diff changeset
152
kono
parents:
diff changeset
153 procedure Replace
kono
parents:
diff changeset
154 (Container : in out Map;
kono
parents:
diff changeset
155 Key : Key_Type;
kono
parents:
diff changeset
156 New_Item : Element_Type);
kono
parents:
diff changeset
157
kono
parents:
diff changeset
158 procedure Exclude (Container : in out Map; Key : Key_Type);
kono
parents:
diff changeset
159
kono
parents:
diff changeset
160 procedure Delete (Container : in out Map; Key : Key_Type);
kono
parents:
diff changeset
161
kono
parents:
diff changeset
162 procedure Delete (Container : in out Map; Position : in out Cursor);
kono
parents:
diff changeset
163
kono
parents:
diff changeset
164 procedure Delete_First (Container : in out Map);
kono
parents:
diff changeset
165
kono
parents:
diff changeset
166 procedure Delete_Last (Container : in out Map);
kono
parents:
diff changeset
167
kono
parents:
diff changeset
168 function First (Container : Map) return Cursor;
kono
parents:
diff changeset
169
kono
parents:
diff changeset
170 function First_Element (Container : Map) return Element_Type;
kono
parents:
diff changeset
171
kono
parents:
diff changeset
172 function First_Key (Container : Map) return Key_Type;
kono
parents:
diff changeset
173
kono
parents:
diff changeset
174 function Last (Container : Map) return Cursor;
kono
parents:
diff changeset
175
kono
parents:
diff changeset
176 function Last_Element (Container : Map) return Element_Type;
kono
parents:
diff changeset
177
kono
parents:
diff changeset
178 function Last_Key (Container : Map) return Key_Type;
kono
parents:
diff changeset
179
kono
parents:
diff changeset
180 function Next (Position : Cursor) return Cursor;
kono
parents:
diff changeset
181
kono
parents:
diff changeset
182 procedure Next (Position : in out Cursor);
kono
parents:
diff changeset
183
kono
parents:
diff changeset
184 function Previous (Position : Cursor) return Cursor;
kono
parents:
diff changeset
185
kono
parents:
diff changeset
186 procedure Previous (Position : in out Cursor);
kono
parents:
diff changeset
187
kono
parents:
diff changeset
188 function Find (Container : Map; Key : Key_Type) return Cursor;
kono
parents:
diff changeset
189
kono
parents:
diff changeset
190 function Element (Container : Map; Key : Key_Type) return Element_Type;
kono
parents:
diff changeset
191
kono
parents:
diff changeset
192 function Floor (Container : Map; Key : Key_Type) return Cursor;
kono
parents:
diff changeset
193
kono
parents:
diff changeset
194 function Ceiling (Container : Map; Key : Key_Type) return Cursor;
kono
parents:
diff changeset
195
kono
parents:
diff changeset
196 function Contains (Container : Map; Key : Key_Type) return Boolean;
kono
parents:
diff changeset
197
kono
parents:
diff changeset
198 function "<" (Left, Right : Cursor) return Boolean;
kono
parents:
diff changeset
199
kono
parents:
diff changeset
200 function ">" (Left, Right : Cursor) return Boolean;
kono
parents:
diff changeset
201
kono
parents:
diff changeset
202 function "<" (Left : Cursor; Right : Key_Type) return Boolean;
kono
parents:
diff changeset
203
kono
parents:
diff changeset
204 function ">" (Left : Cursor; Right : Key_Type) return Boolean;
kono
parents:
diff changeset
205
kono
parents:
diff changeset
206 function "<" (Left : Key_Type; Right : Cursor) return Boolean;
kono
parents:
diff changeset
207
kono
parents:
diff changeset
208 function ">" (Left : Key_Type; Right : Cursor) return Boolean;
kono
parents:
diff changeset
209
kono
parents:
diff changeset
210 procedure Iterate
kono
parents:
diff changeset
211 (Container : Map;
kono
parents:
diff changeset
212 Process : not null access procedure (Position : Cursor));
kono
parents:
diff changeset
213
kono
parents:
diff changeset
214 procedure Reverse_Iterate
kono
parents:
diff changeset
215 (Container : Map;
kono
parents:
diff changeset
216 Process : not null access procedure (Position : Cursor));
kono
parents:
diff changeset
217
kono
parents:
diff changeset
218 -- The map container supports iteration in both the forward and reverse
kono
parents:
diff changeset
219 -- directions, hence these constructor functions return an object that
kono
parents:
diff changeset
220 -- supports the Reversible_Iterator interface.
kono
parents:
diff changeset
221
kono
parents:
diff changeset
222 function Iterate
kono
parents:
diff changeset
223 (Container : Map)
kono
parents:
diff changeset
224 return Map_Iterator_Interfaces.Reversible_Iterator'Class;
kono
parents:
diff changeset
225
kono
parents:
diff changeset
226 function Iterate
kono
parents:
diff changeset
227 (Container : Map;
kono
parents:
diff changeset
228 Start : Cursor)
kono
parents:
diff changeset
229 return Map_Iterator_Interfaces.Reversible_Iterator'Class;
kono
parents:
diff changeset
230
kono
parents:
diff changeset
231 private
kono
parents:
diff changeset
232
kono
parents:
diff changeset
233 pragma Inline (Next);
kono
parents:
diff changeset
234 pragma Inline (Previous);
kono
parents:
diff changeset
235
kono
parents:
diff changeset
236 type Node_Type;
kono
parents:
diff changeset
237 type Node_Access is access Node_Type;
kono
parents:
diff changeset
238
kono
parents:
diff changeset
239 type Key_Access is access Key_Type;
kono
parents:
diff changeset
240 type Element_Access is access all Element_Type;
kono
parents:
diff changeset
241
kono
parents:
diff changeset
242 type Node_Type is limited record
kono
parents:
diff changeset
243 Parent : Node_Access;
kono
parents:
diff changeset
244 Left : Node_Access;
kono
parents:
diff changeset
245 Right : Node_Access;
kono
parents:
diff changeset
246 Color : Red_Black_Trees.Color_Type := Red_Black_Trees.Red;
kono
parents:
diff changeset
247 Key : Key_Access;
kono
parents:
diff changeset
248 Element : Element_Access;
kono
parents:
diff changeset
249 end record;
kono
parents:
diff changeset
250
kono
parents:
diff changeset
251 package Tree_Types is new Red_Black_Trees.Generic_Tree_Types
kono
parents:
diff changeset
252 (Node_Type,
kono
parents:
diff changeset
253 Node_Access);
kono
parents:
diff changeset
254
kono
parents:
diff changeset
255 type Map is new Ada.Finalization.Controlled with record
kono
parents:
diff changeset
256 Tree : Tree_Types.Tree_Type;
kono
parents:
diff changeset
257 end record;
kono
parents:
diff changeset
258
kono
parents:
diff changeset
259 overriding procedure Adjust (Container : in out Map);
kono
parents:
diff changeset
260
kono
parents:
diff changeset
261 overriding procedure Finalize (Container : in out Map) renames Clear;
kono
parents:
diff changeset
262
kono
parents:
diff changeset
263 use Red_Black_Trees;
kono
parents:
diff changeset
264 use Tree_Types, Tree_Types.Implementation;
kono
parents:
diff changeset
265 use Ada.Finalization;
kono
parents:
diff changeset
266 use Ada.Streams;
kono
parents:
diff changeset
267
kono
parents:
diff changeset
268 procedure Write
kono
parents:
diff changeset
269 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
270 Container : Map);
kono
parents:
diff changeset
271
kono
parents:
diff changeset
272 for Map'Write use Write;
kono
parents:
diff changeset
273
kono
parents:
diff changeset
274 procedure Read
kono
parents:
diff changeset
275 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
276 Container : out Map);
kono
parents:
diff changeset
277
kono
parents:
diff changeset
278 for Map'Read use Read;
kono
parents:
diff changeset
279
kono
parents:
diff changeset
280 type Map_Access is access all Map;
kono
parents:
diff changeset
281 for Map_Access'Storage_Size use 0;
kono
parents:
diff changeset
282
kono
parents:
diff changeset
283 type Cursor is record
kono
parents:
diff changeset
284 Container : Map_Access;
kono
parents:
diff changeset
285 Node : Node_Access;
kono
parents:
diff changeset
286 end record;
kono
parents:
diff changeset
287
kono
parents:
diff changeset
288 procedure Write
kono
parents:
diff changeset
289 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
290 Item : Cursor);
kono
parents:
diff changeset
291
kono
parents:
diff changeset
292 for Cursor'Write use Write;
kono
parents:
diff changeset
293
kono
parents:
diff changeset
294 procedure Read
kono
parents:
diff changeset
295 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
296 Item : out Cursor);
kono
parents:
diff changeset
297
kono
parents:
diff changeset
298 for Cursor'Read use Read;
kono
parents:
diff changeset
299
kono
parents:
diff changeset
300 subtype Reference_Control_Type is Implementation.Reference_Control_Type;
kono
parents:
diff changeset
301 -- It is necessary to rename this here, so that the compiler can find it
kono
parents:
diff changeset
302
kono
parents:
diff changeset
303 type Constant_Reference_Type
kono
parents:
diff changeset
304 (Element : not null access constant Element_Type) is
kono
parents:
diff changeset
305 record
kono
parents:
diff changeset
306 Control : Reference_Control_Type :=
kono
parents:
diff changeset
307 raise Program_Error with "uninitialized reference";
kono
parents:
diff changeset
308 -- The RM says, "The default initialization of an object of
kono
parents:
diff changeset
309 -- type Constant_Reference_Type or Reference_Type propagates
kono
parents:
diff changeset
310 -- Program_Error."
kono
parents:
diff changeset
311 end record;
kono
parents:
diff changeset
312
kono
parents:
diff changeset
313 procedure Read
kono
parents:
diff changeset
314 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
315 Item : out Constant_Reference_Type);
kono
parents:
diff changeset
316
kono
parents:
diff changeset
317 for Constant_Reference_Type'Read use Read;
kono
parents:
diff changeset
318
kono
parents:
diff changeset
319 procedure Write
kono
parents:
diff changeset
320 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
321 Item : Constant_Reference_Type);
kono
parents:
diff changeset
322
kono
parents:
diff changeset
323 for Constant_Reference_Type'Write use Write;
kono
parents:
diff changeset
324
kono
parents:
diff changeset
325 type Reference_Type
kono
parents:
diff changeset
326 (Element : not null access Element_Type) is
kono
parents:
diff changeset
327 record
kono
parents:
diff changeset
328 Control : Reference_Control_Type :=
kono
parents:
diff changeset
329 raise Program_Error with "uninitialized reference";
kono
parents:
diff changeset
330 -- The RM says, "The default initialization of an object of
kono
parents:
diff changeset
331 -- type Constant_Reference_Type or Reference_Type propagates
kono
parents:
diff changeset
332 -- Program_Error."
kono
parents:
diff changeset
333 end record;
kono
parents:
diff changeset
334
kono
parents:
diff changeset
335 procedure Read
kono
parents:
diff changeset
336 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
337 Item : out Reference_Type);
kono
parents:
diff changeset
338
kono
parents:
diff changeset
339 for Reference_Type'Read use Read;
kono
parents:
diff changeset
340
kono
parents:
diff changeset
341 procedure Write
kono
parents:
diff changeset
342 (Stream : not null access Root_Stream_Type'Class;
kono
parents:
diff changeset
343 Item : Reference_Type);
kono
parents:
diff changeset
344
kono
parents:
diff changeset
345 for Reference_Type'Write use Write;
kono
parents:
diff changeset
346
kono
parents:
diff changeset
347 -- Three operations are used to optimize in the expansion of "for ... of"
kono
parents:
diff changeset
348 -- loops: the Next(Cursor) procedure in the visible part, and the following
kono
parents:
diff changeset
349 -- Pseudo_Reference and Get_Element_Access functions. See Sem_Ch5 for
kono
parents:
diff changeset
350 -- details.
kono
parents:
diff changeset
351
kono
parents:
diff changeset
352 function Pseudo_Reference
kono
parents:
diff changeset
353 (Container : aliased Map'Class) return Reference_Control_Type;
kono
parents:
diff changeset
354 pragma Inline (Pseudo_Reference);
kono
parents:
diff changeset
355 -- Creates an object of type Reference_Control_Type pointing to the
kono
parents:
diff changeset
356 -- container, and increments the Lock. Finalization of this object will
kono
parents:
diff changeset
357 -- decrement the Lock.
kono
parents:
diff changeset
358
kono
parents:
diff changeset
359 function Get_Element_Access
kono
parents:
diff changeset
360 (Position : Cursor) return not null Element_Access;
kono
parents:
diff changeset
361 -- Returns a pointer to the element designated by Position.
kono
parents:
diff changeset
362
kono
parents:
diff changeset
363 Empty_Map : constant Map := (Controlled with others => <>);
kono
parents:
diff changeset
364
kono
parents:
diff changeset
365 No_Element : constant Cursor := Cursor'(null, null);
kono
parents:
diff changeset
366
kono
parents:
diff changeset
367 type Iterator is new Limited_Controlled and
kono
parents:
diff changeset
368 Map_Iterator_Interfaces.Reversible_Iterator with
kono
parents:
diff changeset
369 record
kono
parents:
diff changeset
370 Container : Map_Access;
kono
parents:
diff changeset
371 Node : Node_Access;
kono
parents:
diff changeset
372 end record
kono
parents:
diff changeset
373 with Disable_Controlled => not T_Check;
kono
parents:
diff changeset
374
kono
parents:
diff changeset
375 overriding procedure Finalize (Object : in out Iterator);
kono
parents:
diff changeset
376
kono
parents:
diff changeset
377 overriding function First (Object : Iterator) return Cursor;
kono
parents:
diff changeset
378 overriding function Last (Object : Iterator) return Cursor;
kono
parents:
diff changeset
379
kono
parents:
diff changeset
380 overriding function Next
kono
parents:
diff changeset
381 (Object : Iterator;
kono
parents:
diff changeset
382 Position : Cursor) return Cursor;
kono
parents:
diff changeset
383
kono
parents:
diff changeset
384 overriding function Previous
kono
parents:
diff changeset
385 (Object : Iterator;
kono
parents:
diff changeset
386 Position : Cursor) return Cursor;
kono
parents:
diff changeset
387
kono
parents:
diff changeset
388 end Ada.Containers.Indefinite_Ordered_Maps;