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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ccb3e085f1dd380,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!s33g2000prh.googlegroups.com!not-for-mail From: markp Newsgroups: comp.lang.ada Subject: Ada Hash Date: 24 Apr 2007 08:37:13 -0700 Organization: http://groups.google.com Message-ID: <1177429033.247571.9090@s33g2000prh.googlegroups.com> NNTP-Posting-Host: 157.127.124.15 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1177429040 5989 127.0.0.1 (24 Apr 2007 15:37:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Apr 2007 15:37:20 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: s33g2000prh.googlegroups.com; posting-host=157.127.124.15; posting-account=_Inhcg0AAAAPC2BsuUqoGG-atarvM4_J Xref: g2news1.google.com comp.lang.ada:15256 Date: 2007-04-24T08:37:13-07:00 List-Id: I need to use a hash table to store data using an integer as the key. I would like to use Ada.Containers.Hashed_Maps. Is there a default hash function for an integer that I can supply to the instantiation and could somebody provide a quick sample piece of code to do this?