comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Convert between different container types
Date: Mon, 11 Sep 2017 22:36:23 +0100
Date: 2017-09-11T22:36:23+01:00	[thread overview]
Message-ID: <lypoawgboo.fsf@pushface.org> (raw)
In-Reply-To: op6uk9$sni$1@gioia.aioe.org

Victor Porton <porton@narod.ru> writes:

> What is the easiest way to convert between different container types, for 
> example between Ada.Containers.Doubly_Linked_Lists and 
> Ada.Containers.Indefinite_Vectors as well as between these types and plain 
> old Ada arrays?

for El of A loop
   B.Append (El);
end loop;


      parent reply	other threads:[~2017-09-11 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11 21:19 Convert between different container types Victor Porton
2017-09-11 21:20 ` Victor Porton
2017-10-02 23:29   ` Randy Brukardt
2017-09-11 21:36 ` Simon Wright [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox