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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4dcea36626746792 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-14 08:34:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!nntp.cifnet.net!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 14 Apr 2003 10:34:09 -0500 Date: Mon, 14 Apr 2003 10:34:13 -0500 From: Wesley Groleau Reply-To: wesgroleau@despammed.com Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: something I would like to see in ADA 2005 References: <6a90b886.0304100522.2ebf68b2@posting.google.com> <6a90b886.0304140639.4ee1abfb@posting.google.com> In-Reply-To: <6a90b886.0304140639.4ee1abfb@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 216.117.18.34 X-Trace: sv3-VjDXAdE1mdAEhL3wxWlKc91Hfbh4lTq/AAGiu0oimLELrk4jcnxkcTpCruYvx6GLhKvQHkp89Von6a7!1cu73d1wUc0pSGshazgG9MkbMDrq/YGIPAEm26lrcvLnsyO7bbdhEADCNaighAS5piCksqvmo/TP!16RX X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com 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.1 Xref: archiver1.google.com comp.lang.ada:36130 Date: 2003-04-14T10:34:13-05:00 List-Id: Tony Gair wrote: > For instance try declaring a generic protected object. generic -- package instantiation here -- subprogram here type Custom_Type is ...... -- generic constant here package Customizable is protected Safe_Object is -- subprograms whose bodies can reference -- ANY of the generic parameters private The_Data : Custom_Type; end; end Customizable; .... package Customized is new Customizable (.......); X : Customized.Safe_Object; .....