From: Matthew Heaney <mheaney@on2.com>
Subject: Re: Ada.Containers.Indefinite_Hashed_Maps
Date: 26 Apr 2007 12:56:40 -0700
Date: 2007-04-26T12:56:40-07:00 [thread overview]
Message-ID: <1177617400.452061.99730@r30g2000prh.googlegroups.com> (raw)
In-Reply-To: <1177602729.518278.188530@t38g2000prd.googlegroups.com>
On Apr 26, 11:52 am, Matthew Heaney <mhea...@on2.com> wrote:
>
> Update_Element works fine if you already have a cursor, and you want
> to modify an element in-place. Something like:
>
> procedure My_Update (M : in out Map; C : Cursor) is
> procedure Process (K : KT; E : in out ET) is
> begin
> ... -- modify E as necessary
> end;
> begin
> M.Update_Element (C);
> end;
Oops! Of course I meant:
M.Update_Element (C, Process'Access);
next prev parent reply other threads:[~2007-04-26 19:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 14:13 Ada.Containers.Indefinite_Hashed_Maps markp
2007-04-25 17:43 ` Ada.Containers.Indefinite_Hashed_Maps Jeffrey R. Carter
2007-04-26 12:12 ` Ada.Containers.Indefinite_Hashed_Maps Maciej Sobczak
2007-04-26 12:55 ` Ada.Containers.Indefinite_Hashed_Maps Stefan Bellon
2007-04-26 16:13 ` Ada.Containers.Indefinite_Hashed_Maps Matthew Heaney
2007-04-27 4:39 ` Ada.Containers.Indefinite_Hashed_Maps Jeffrey R. Carter
2007-04-26 15:52 ` Ada.Containers.Indefinite_Hashed_Maps Matthew Heaney
2007-04-26 19:56 ` Matthew Heaney [this message]
2007-04-26 16:12 ` Ada.Containers.Indefinite_Hashed_Maps Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox