comp.lang.ada
 help / color / mirror / Atom feed
* type is access cf type is access all?
@ 1995-01-20 11:40 fintan
  1995-01-24 14:32 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: fintan @ 1995-01-20 11:40 UTC (permalink / raw)


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







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-01-25 21:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-01-20 11:40 type is access cf type is access all? fintan
1995-01-24 14:32 ` Robert Dewar
1995-01-24 15:55 ` Michael Feldman
1995-01-24 18:36 ` Tucker Taft
1995-01-25 21:27   ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox