Re: Adding functions to generic package



Preben Randhol <randhol+valid_for_reply_from_news@xxxxxxx> writes:

> On 2005-05-29, Preben Randhol wrote:
> > Another question. Why isn't there a Swap function in the library
> > like the one that you have in the Reverse_Container? I can make
> > something using two splices although a bit less effective I should
> > imagine?
>
> I meant not the same as it would have to be:
>
> procedure Swap (L,R : Iterator_Type);


OK, that makes sense. There's an operation like that (Swap_Links) in
the Ada 200Y standard container library. I can add that to Charles.

-Matt

.