comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Bad cursor, good cursor
Date: Mon, 27 Mar 2017 17:26:25 -0500
Date: 2017-03-27T17:26:25-05:00	[thread overview]
Message-ID: <obc3ih$ej8$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: db7bb891-5640-40bb-9c1d-d0970cb6555e@googlegroups.com

"Marius Amado-Alves" <amado.alves@gmail.com> wrote in message 
news:db7bb891-5640-40bb-9c1d-d0970cb6555e@googlegroups.com...
> Thanks. Thing_Maps is the package (instance of Ordered_Maps), Thing a 
> container (Map). Similarly for Subthing.
>
> Dont know about "overlapping", but there is a nesting of sorts as elements 
> of Thing are themselves Maps.
>
> I seem to remember having problems in the past with nested containers i.e. 
> containers of containers...
> The Ada idioms for this are a bit convoluted... but should work, no?

Should work, yes. :-)

Your original problem looks like a bug in the containers implementation to 
me, as it doesn't make any sense (as you say, it should either be null or a 
good cursor, and nothing has happened that should be able to change it).

                                     Randy.



      reply	other threads:[~2017-03-27 22:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-27 16:56 Bad cursor, good cursor Marius Amado-Alves
2017-03-27 18:12 ` G.B.
2017-03-27 18:35   ` Marius Amado-Alves
2017-03-27 22:26     ` 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