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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aaf4cd5313f652b1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-23 03:17:36 PST Path: pad-thai.cam.ov.com!bloom-beacon.mit.edu!news.kei.com!news.mathworks.com!uunet!pipex!sunsite.doc.ic.ac.uk!vax.sbu.ac.uk!fintan From: fintan@vax.sbu.ac.uk Newsgroups: comp.lang.ada Subject: type is access cf type is access all? Message-ID: <1995Jan20.114005.8916@vax.sbu.ac.uk> Date: 20 Jan 95 11:40:05 GMT Organization: South Bank University Date: 1995-01-20T11:40:05+00:00 List-Id: trying to get my head around this one and failing! (Maybe I need a new head?) What is the difference between: type FooPointers is access Foo; and type FooPointers is access all Foo; The 9X LRM states "if no general_access_modifier {all | constant} appears ... the access type is a pool-specific access-to_variable type" My reading of this implies that omitting all will result in variables the access type only being able to designate dynamically (new) allocated anonymous variables and not non-pool (aliased) variables. A check of this idea on gnat 2.0 suggests that both types can designate dynamic and aliased variables. Anyone know the answer? replies by post to me and I will summarise. fintan ----------------------------------------------------------- Fintan Culwin PhD Senior Lecturer Software Engineering School of Computing South Bank University Borough Road London SE1 0AA Phone (+44) (0)171 815 7434 Fax (+44) (0)171 815 7499 fintan@vax.sbu.ac.uk