Re: AI302.Containers bug : solved
- From: Marius Amado Alves <amado.alves@xxxxxxxxxx>
- Date: Wed, 22 Jun 2005 00:39:10 +0100
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.
.
- Prev by Date: Re: Data table text I/O package?
- Next by Date: Re: ADA Excel API
- Previous by thread: AI302.Containers bug
- Next by thread: Problem with generic parameter
- Index(es):