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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2866100c9a2b8ce7 X-Google-Attributes: gid103376,public From: leschkes@ferret.cig.mot.com (Scott Leschke) Subject: Re: Type conversion between access types (was: Free'ing extended types) Date: 1996/05/22 Message-ID: #1/1 X-Deja-AN: 156195302 references: <3183AC75.335C@ehs.ericsson.se> <3184803D.1208@ehs.ericsson.se> organization: Motorola Cellular Infrastructure Group newsgroups: comp.lang.ada Date: 1996-05-22T00:00:00+00:00 List-Id: bobduff@world.std.com (Robert A Duff) writes: >Yes, if you add the 'all' modifier, the restriction goes "out the >window". You can convert *to* an 'all' access type, so long as the >designated subtypes match. But you had better be careful about storage >pools -- if you deallocate from the wrong type, it's erroneous. So what about 'all' causes the conversion to be allowed? I looked at section 4.6 of the LRM but got a tad confused? -- Scott Leschke.........................email: leschkes@cig.mot.com Motorola, Inc............................ph: 847-632-2786 1501 W Shure Drive......................fax: 847-632-3145 Arlington Heights, IL 60004......mailstop: 1301