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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-28 12:51:45 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Overriding 'Class'Input (was: List container strawman 1.1) Date: Wed, 28 Nov 2001 15:40:28 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9u3i3t$211$1@nh.pace.co.uk> References: <3BECA3B7.5020702@telepath.com><3BF0247D.4500975E@san.rr.com><5BXH7.22252$xS6.34813@www.newsranger.com><3BF052D3.ECEF3FF2@san.rr.com><3BF19FF8.7FE097EF@boeing.com><3BF27410.C899A16B@brighton.ac.uk><3BF3EDE5.FE0ED701@brighton.ac.uk> <700ht9.6k1.ln@127.0.0.1> <9tht9a$2j1ni$1@ID-25716.news.dfncis.de> <3piL7.34607$xS6.59455@www.newsranger.com> <9u0rkd$q9k$1@nh.pace.co.uk> <3C049C06.DF85EF80@angelfire.com> <9u2scm$lqg$1@nh.pace.co.uk> <9u38pn$r7r$1@nh.pace.co.uk> <9paN7.41146$xS6.69394@www.newsranger.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1006980029 2081 136.170.200.133 (28 Nov 2001 20:40:29 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 28 Nov 2001 20:40:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:17132 Date: 2001-11-28T20:40:29+00:00 List-Id: O.K. But this post kind of implies that there is a reason you would want to implement S'Input instead of S'Read - saying that S'Class'Input is going to find its way to the S'Input you implement for the specific type. This degenerates to the S'Read because the compiler will be smart enough to figure out it should write bounds/discriminants/tags, then call your replacement for S'Read? If that's the case, it makes it a lot simpler than I previously had thought. It also seems to explain where the 'Read and 'Write are useful since after initially looking at them, I didn't know why I'd want them if they didn't write out the tags, etc. (The 'Input and 'Output seem to be what you normally want to use - getting them automagically by defining 'Read and 'Write makes more sense.) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Ted Dennison" wrote in message news:ACaN7.41163$xS6.69385@www.newsranger.com... > In article <9paN7.41146$xS6.69394@www.newsranger.com>, Ted Dennison says... > > In the interest of interjecting a rare bit of fact into one of my discussions, I > went back to Deja to look this up. The best I could find was a thread from '99 > where Matthew Heaney (*not* Tucker) told me that 'Class'Input comes from 'Input, > and *implied* that it isn't really useful to override 'Class'Input. That's not > particularly helpful to your specific issue though. > > You can read the post yourself at > http://groups.google.com/groups?q=%27Class%27Input+group:comp.lang.ada&hl=xx -bork&rnum=1&selm=3803cc6c_1%40news1.prserv.net >