* Re: AI302.Containers bug : solved
[not found] <4441848e878453cc8a92ede97c81b3d1@netcabo.pt>
@ 2005-06-21 23:39 ` Marius Amado Alves
0 siblings, 0 replies; only message in thread
From: Marius Amado Alves @ 2005-06-21 23:39 UTC (permalink / raw)
To: comp.lang.ada
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-21 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <4441848e878453cc8a92ede97c81b3d1@netcabo.pt>
2005-06-21 23:39 ` AI302.Containers bug : solved Marius Amado Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox