comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado Alves <amado.alves@netcabo.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: AI302.Containers bug : solved
Date: Wed, 22 Jun 2005 00:39:10 +0100
Date: 2005-06-22T00:39:10+01:00	[thread overview]
Message-ID: <mailman.81.1119397189.17633.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <4441848e878453cc8a92ede97c81b3d1@netcabo.pt>

To whom it may interest. It seems Find returns Back (eek!) instead of 
Null_Cursor (as in the AI text). [I'm using AI302 20040727 because I 
want the closest to Ada.Containers that compiles with Ada 95.]

On 21 Jun 2005, at 19:33, I myself wrote:

> I'm using AI302.Containers, version 20040727. This call to 
> Sorted_Sets.Element raises a CE:
>
>       Cur := Node_Keys.Find (Nodes, Node);
>       if Cur /= Null_Cursor then
>          Old_Lev := Element (Cur).Level; -- <== HERE
>
> But the set Nodes is empty yet. So Find should have returned a 
> Null_Cursor, no? And the call never made. Node_Keys is an instance of 
> Sorted_Sets.Generic_Keys. Thanks.




           reply	other threads:[~2005-06-21 23:39 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4441848e878453cc8a92ede97c81b3d1@netcabo.pt>]
replies disabled

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