comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: How to Iterate over all elements of a hashed_map.
Date: Tue, 29 Oct 2019 17:48:38 +0100
Date: 2019-10-29T17:48:38+01:00	[thread overview]
Message-ID: <qp9qh6$fc1$2@dont-email.me> (raw)
In-Reply-To: <6ea868a2-6f4b-413c-955d-08e8735f2880@googlegroups.com>

On 10/29/19 2:43 PM, Alain De Vos wrote:
> 
>     package My_Hash is new Ada.Containers.Hashed_Maps (Key_Type => Unbounded_String,
>         Element_Type => Unbounded_String,
>         Hash => Hash_Func,
>         Equivalent_Keys => Equivalent_Key);
> 
> But now I want to iterate over all elements of this Hash and print the keys and items ?

My_Hash.Iterate?

-- 
Jeff Carter
"You cheesy lot of second-hand electric donkey-bottom biters."
Monty Python & the Holy Grail
14


      parent reply	other threads:[~2019-10-29 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 13:43 How to Iterate over all elements of a hashed_map Alain De Vos
2019-10-29 14:20 ` Alain De Vos
2019-10-29 15:02   ` joakimds
2019-10-29 21:56     ` Randy Brukardt
2019-10-29 16:48 ` Jeffrey R. Carter [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