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.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,51359402da60c472 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-30 08:01:30 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mheaney@on2.com (Matthew Heaney) Newsgroups: comp.lang.ada Subject: Re: DYNAMIC ADA TASK CREATION? Date: 30 Jun 2003 08:01:29 -0700 Organization: http://groups.google.com/ Message-ID: <1ec946d1.0306300701.77505dcf@posting.google.com> References: <3EF0026E.2050309@attbi.com> <3EF0F57D.9060507@attbi.com> <3EF15A7C.4030901@attbi.com> <1ec946d1.0306271654.636c1373@posting.google.com> <3EFD42B5.2060707@attbi.com> <0gpvfv49qaa0b62ab5m0kg39kka66sis8t@4ax.com> NNTP-Posting-Host: 66.162.65.162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1056985290 3120 127.0.0.1 (30 Jun 2003 15:01:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 Jun 2003 15:01:30 GMT Xref: archiver1.google.com comp.lang.ada:39931 Date: 2003-06-30T15:01:30+00:00 List-Id: Dmitry A. Kazakov wrote in message news:<0gpvfv49qaa0b62ab5m0kg39kka66sis8t@4ax.com>... > On Sat, 28 Jun 2003 07:25:02 GMT, "Robert I. Eachus" > wrote: > > > generic > > type Element is limited private; > > A short question. Why not: > > type Element (<>) is limited private; > > [I am using this in my containers because it is weaker than just > limited private.] Because the type must be definite, of course! Otherwise, how would you know how much space to allocate for the object? Consider the following type (as you've declared it above): package P is type T (<>) is limited private; private type T is limited null record; end P; Here's a little puzzle: how do you declare an instance of type T?