comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: Some problems with iterators
Date: Thu, 21 Aug 2014 00:06:03 -0700 (PDT)
Date: 2014-08-21T00:06:03-07:00	[thread overview]
Message-ID: <fef16ffd-7510-460e-a471-2474b713830e@googlegroups.com> (raw)
In-Reply-To: <lt2jhi$qpv$1@speranza.aioe.org>

On Wednesday, August 20, 2014 6:48:53 PM UTC+2, Victor Porton wrote:
> Why Ada2012 does allow only type name for an iterator in for loops,

Please provide an example, or better yet, an RM reference, I can't find any for-loop that takes a type name for an iterator.

> not an iterator object?

But we can, RM 5.5.2(2/3).

> I think, it is a design mistake. 

Clearly not.

> The following does not verify with GCC 4.9.1 (I think it is a compiler bug 
> and have reported this bug in GCC Bugzilla):

What error do you get? 


I believe the rest of your post was answered in this thread:
https://groups.google.com/forum/?authuser=0#!searchin/comp.lang.ada/porton$20$27class%7Csort:date/comp.lang.ada/J-orbhzFZ-8/kF9YuqKIQNQJ



  reply	other threads:[~2014-08-21  7:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 16:48 Some problems with iterators Victor Porton
2014-08-21  7:06 ` Egil H H [this message]
2014-08-21 16:34   ` Victor Porton
2014-08-21 16:46     ` Victor Porton
2014-08-21 23:01       ` Randy Brukardt
2014-08-22  7:59         ` Egil H H
replies disabled

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