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, XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6bf481efd29cf77b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-10 22:10:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!diablo.theplanet.net!psiuk-p2!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: Behavior of Stream Attributes On Access Types. Date: Mon, 10 Jun 2002 15:38:20 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1023737903 27682 136.170.200.133 (10 Jun 2002 19:38:23 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 10 Jun 2002 19:38:23 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:25721 Date: 2002-06-10T19:38:23+00:00 List-Id: I'm checking section 13.13.2 of the ARM to discover the default behavior of the Stream 'Read, 'Write, 'Input and 'Output when they encounter an access type. I'm not finding any clear indication of what gets put to the stream - although there is a mention in paragraph 35 of raising Constraint_Error on input if the value is not of its subtype. Can someone clarify the behavior? My inclination is to think that the sensible thing would be to call the 'Read or 'Write for the thing pointed to by the access type, but this has implications for dynamically allocated objects. Will it write/read a (totally useless) access value? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com