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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1b1a6e7f6b4388de X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-20 04:27:05 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: maa@liacc.up.pt (=?ISO-8859-1?Q?M=E1rio_Amado_Alves?=) Newsgroups: comp.lang.ada Subject: Re: Ada.Streams.Stream_IO.File_Type Date: 20 Jul 2003 04:27:04 -0700 Organization: http://groups.google.com/ Message-ID: <4a4de33a.0307200327.3ca6705@posting.google.com> References: NNTP-Posting-Host: 212.113.164.99 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1058700425 10344 127.0.0.1 (20 Jul 2003 11:27:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Jul 2003 11:27:05 GMT Xref: archiver1.google.com comp.lang.ada:40521 Date: 2003-07-20T11:27:05+00:00 List-Id: > ... > but it could be implemented by putting: > > type File_Type is new Ada.Finalization.Limited_Controlled with private; > > in the private part of package Ada.Streams.Stream_IO. I'm not quite sure if > such an implementation would be criticised on the grounds that objects of > File_Type could not then be declared other than at library level. Indeed it would be criticized by the many of us that find this Ada feature annoying.