comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <mheaney@on2.com>
Subject: Re: How to loop (elegant) throug a vector ?
Date: Mon, 23 Jun 2008 10:11:57 -0700 (PDT)
Date: 2008-06-23T10:11:57-07:00	[thread overview]
Message-ID: <5a81b140-4f95-4e44-b670-9e75840ce9f7@56g2000hsm.googlegroups.com> (raw)
In-Reply-To: SqT6k.162865$TT4.82100@attbi_s22

On Jun 20, 3:21 pm, "Jeffrey R. Carter"
<spam.jrcarter....@spam.acm.org> wrote:
> Since the correct name for this package is Unbounded_Arrays,

No.  It's a "container".  Implementations are free to use different
non-array implementations.


> it makes sense to
> iterate over it in a manner to iterating over an array.

Like all containers, a vector supports iterating over its elements
using a cursor.  In the unique case of the vector, the container also
supports iteration using an explicit index.



  parent reply	other threads:[~2008-06-23 17:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 13:19 How to loop (elegant) throug a vector ? Reinert Korsnes
2008-06-20 14:49 ` Pascal Obry
2008-06-20 17:12 ` Returning ranges from a function (was: How to loop (elegant) throug a vector ?) Stefan Bellon
2008-06-22 14:01   ` Maciej Sobczak
2008-06-22 18:47     ` Stefan Bellon
2008-06-22 21:06       ` Maciej Sobczak
2008-06-23  9:47         ` Stefan Bellon
2008-06-23 12:06           ` Maciej Sobczak
2008-06-23 12:28             ` christoph.grein
2008-06-20 19:21 ` How to loop (elegant) throug a vector ? Jeffrey R. Carter
2008-06-20 19:48   ` Reinert Korsnes
2008-06-20 23:25     ` Jeffrey R. Carter
2008-06-23 17:14     ` Matthew Heaney
2008-06-23 17:11   ` Matthew Heaney [this message]
2008-06-23 17:08 ` Matthew Heaney
replies disabled

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