From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Iterators in Ada2012
Date: Tue, 8 Nov 2011 15:25:19 -0600
Date: 2011-11-08T15:25:19-06:00 [thread overview]
Message-ID: <j9c6o1$5e5$1@munin.nbi.dk> (raw)
In-Reply-To: 66dbca36-0248-458a-aff4-1176d6ce098b@m10g2000vbc.googlegroups.com
"comp.lang.php" <kst@ecs.soton.ac.uk> wrote in message
news:66dbca36-0248-458a-aff4-1176d6ce098b@m10g2000vbc.googlegroups.com...
>I have an instantiation of the package Ada.Containers.Ordered_Maps
> (Integer, Float). Is there a neat way of iterating over the values
> similar to the construction:
> for x of a_Set loop ... end loop.
Exactly that should work (but only in Ada 2012, and only in a reasonably
complete implementation). Don't know if GNAT has all of the needed features
(my understanding was that a few were still missing, but that's a few months
old now).
Randy.
prev parent reply other threads:[~2011-11-08 21:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 10:05 Iterators in Ada2012 comp.lang.php
2011-11-08 13:13 ` Georg Bauhaus
2011-11-08 13:42 ` Dmitry A. Kazakov
2011-11-09 4:12 ` R. Tyler Croy
2011-11-09 9:02 ` Simon Wright
2011-11-09 22:58 ` R. Tyler Croy
2011-11-10 8:07 ` Georg Bauhaus
2011-11-09 10:55 ` Georg Bauhaus
2011-11-25 14:20 ` Yannick Duchêne (Hibou57)
2011-11-08 21:25 ` Randy Brukardt [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