Re: Adding functions to generic package



I guess it must be:

procedure Swap (Container : in out Container_Type; L,R : Iterator_Type);

as I want the Swap to Swap say element in position 4 with element in
postion 2 in the list but by using iterators to point at them.

No need. Cursors know their containers.

.