From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: Problem implementing Iterators
Date: Tue, 27 Jan 2015 19:43:07 +0100
Date: 2015-01-27T19:43:07+01:00 [thread overview]
Message-ID: <ma8m6r$e0r$1@dont-email.me> (raw)
In-Reply-To: <016b982c-d376-4db4-bb7c-37561e7903d2@googlegroups.com>
On 2015-01-27 19:06, Laurent wrote:
>
>> change
>> L1 : GL_String.List ;
>> to
>> L1 : aliased GL_String.List ;
>
> Ok thanks works now. An easier solution than what I tried. Was writing the message while you posted yours :)
...
> Would that actually have worked? Perhaps the additional Element_Ptr was't needed at all?
>
I do not know, but I do not think so.
You need to declare a variable as aliased if you want to use/take its
'access.
As I understand it, its only purpose is to tell the programmer that
this variable may be changed via pointers - beware ...
--
Björn
next prev parent reply other threads:[~2015-01-27 18:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 13:54 Problem implementing Iterators Laurent
2015-01-27 16:24 ` AdaMagica
2015-01-27 17:26 ` Laurent
2015-01-27 17:55 ` Björn Lundin
2015-01-27 18:06 ` Laurent
2015-01-27 18:43 ` Björn Lundin [this message]
2015-01-27 20:58 ` Jeffrey Carter
2015-01-28 12:20 ` Björn Lundin
2015-01-28 16:42 ` AdaMagica
2015-01-28 20:14 ` Laurent
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox