comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <mheaney@on2.com>
Subject: Re: Bug in GCC ?
Date: Mon, 19 May 2008 08:57:41 -0700 (PDT)
Date: 2008-05-19T08:57:41-07:00	[thread overview]
Message-ID: <09dfb192-808c-47a2-a86e-c59e86365cfb@p25g2000hsf.googlegroups.com> (raw)
In-Reply-To: g0s7hc$9bn$1@registered.motzarella.org

On May 19, 11:50 am, Sébastien <seb.mor...@gmail.com> wrote:
>
> with Ada.Containers.Hashed_Maps;

Why didn't you use the indefinite form?  That would allow you to ditch
the Unbounded_String.

with Ada.Containers.Indefinite_Hashed_Maps;
pragma Elaborate_All (Ada.Containers.Indefinite_Hashed_Maps);

package SCMAL.Tools.HashedMaps is

     package HashedStrStr is
         new Ada.Containers.Indefinite_Hashed_Maps(
         Key_Type => String,
         Element_Type => String,
         Hash => Ada.Strings.Hash,
         Equivalent_Keys => "=");

end SCMAL.Tools.HashedMaps;





  reply	other threads:[~2008-05-19 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 15:50 Bug in GCC ? Sébastien
2008-05-19 15:57 ` Matthew Heaney [this message]
2008-05-19 16:47   ` Sébastien
2008-05-19 17:41 ` Samuel Tardieu
2008-05-19 18:29 ` Ludovic Brenta
2008-05-19 19:32   ` Sebastien Morand
2008-05-19 21:56     ` Ludovic Brenta
replies disabled

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