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,740e91341085efe3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 08 Apr 2005 15:42:29 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Some help for a C++ guy References: <1112982557.068751.125740@o13g2000cwo.googlegroups.com> X-Newsreader: Tom's custom newsreader Message-ID: <4YudnV8ju-IrccvfRVn-og@comcast.com> Date: Fri, 08 Apr 2005 15:42:30 -0500 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-9xBdrfjeL5JY693XX8FG7O99aa0XPVaUQgaMQpMxlN/BaGqvLmoYjCZwTwp5ZS0D7q+rtOFfGSCL8GV!qUwx4O1a0z/RdxJq53dMp5nqSYziSV1tMf3ogN7Zso+ptfD9rC0zhmlUlO41CA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:10353 Date: 2005-04-08T15:42:30-05:00 List-Id: > Handlers : Array (0..1) of Message_Handler.Handler; > ... > Callbacks := Handlers(0).Num_Message_Callbacks; In Ada 95 you would say Callbacks := Num_Message_Callbacks(Handler(0)); ie, you pass the (tagged) parameter as a parameter, not as a prefix. (The prefix form will apparently be allowed by the upcoming revision.) With the generic version you clearly did not have inheritance, so do want to add it now? You must be planning some significant architectural changes. Why is a Handler a tagged record rather than an untagged one?