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,a8c6c308ebb6a246 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!14bb18d8!not-for-mail Sender: Matthew Heaney@MHEANEYIBMT43 Newsgroups: comp.lang.ada Subject: Re: hashed_maps References: <1129046337.130908.137510@g47g2000cwa.googlegroups.com> <1129136684.840004.135310@g47g2000cwa.googlegroups.com> From: Matthew Heaney Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Oct 2005 05:17:13 GMT NNTP-Posting-Host: 24.149.57.125 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1129180633 24.149.57.125 (Wed, 12 Oct 2005 22:17:13 PDT) NNTP-Posting-Date: Wed, 12 Oct 2005 22:17:13 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:5584 Date: 2005-10-13T05:17:13+00:00 List-Id: "Lucretia" writes: > No, because, like I said, I need a mapping from a C++ pointer type to > an Ada instance. The Ada instance constructs the C++ instance. Hmmm... Still not sure what you mean here. Does the C++ pointer value designate the Ada instance? If so, then you can just convert from the C++ pointer type to an Ada access type, using the method Jeff suggested.