From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7fc35c7be21c216e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!p25g2000hsf.googlegroups.com!not-for-mail From: Matthew Heaney Newsgroups: comp.lang.ada Subject: Re: Bug in GCC ? Date: Mon, 19 May 2008 08:57:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <09dfb192-808c-47a2-a86e-c59e86365cfb@p25g2000hsf.googlegroups.com> References: NNTP-Posting-Host: 66.162.65.129 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1211212661 3722 127.0.0.1 (19 May 2008 15:57:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 May 2008 15:57:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p25g2000hsf.googlegroups.com; posting-host=66.162.65.129; posting-account=umyUbgkAAADe5rQC4VzV-ffCoH4N30u3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:246 Date: 2008-05-19T08:57:41-07:00 List-Id: On May 19, 11:50=A0am, S=E9bastien 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 =A0 =A0 =A0package HashedStrStr is =A0 =A0 =A0 =A0 =A0new Ada.Containers.Indefinite_Hashed_Maps( =A0 =A0 =A0 =A0 =A0Key_Type =3D> String, =A0 =A0 =A0 =A0 =A0Element_Type =3D> String, =A0 =A0 =A0 =A0 =A0Hash =3D> Ada.Strings.Hash, =A0 =A0 =A0 =A0 =A0Equivalent_Keys =3D> "=3D"); end SCMAL.Tools.HashedMaps;