Version 1.1 of acs/ac-00125.txt

Unformatted version of acs/ac-00125.txt version 1.1
Other versions for file acs/ac-00125.txt

!standard 9.5.2(13)          06-01-04 AC95-00125/01
!class Amendment 06-01-06
!status received no action 06-01-06
!status received 06-01-02
!subject Access parameters for task entries
!summary
!appendix

From: Tucker Taft
Date: Monday, January  2, 2006  9:21 PM

Given the proliferation of places where anonymous
access types are permitted in Ada 2005, it seems
odd we didn't come up with some rule that would
allow task entries to have access parameters.
If all else fails, we could say that their accessibility
level is the same as the accept body.  At least then
you wouldn't have to introduce an access type just
for this purpose.  Maybe Ada 2015?

****************************************************************

From: Robert Dewar
Date: Tuesday, January  3, 2006  7:53 AM

>Given the proliferation of places where anonymous
>access types are permitted in Ada 2005,

proliferation is the right word, UGH! My least favorite part
of the changes, still I guess the excessive use can be ruled
out by coding standards.

> it seems
>odd we didn't come up with some rule that would
>allow task entries to have access parameters.

I see no reason for this, but I agree it would have been consistent.

>If all else fails, we could say that their accessibility
>level is the same as the accept body.  At least then
>you wouldn't have to introduce an access type just
>for this purpose.  Maybe Ada 2015?

Seems a minor point to me

****************************************************************

From: Pascal Leroy
Date: Wednesday, January  4, 2006  3:10 AM

I find it more surprising that we didn't allow anonymous access types to
be used for out/in out parameters.  I think this is going to show up more
often in real life than parameters of task entries.  Curiously, we did
allow generic in out parameter of anonymous access types.  Oh well.

****************************************************************


Questions? Ask the ACAA Technical Agent