comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Formal Subprogram Access
Date: Sat, 10 Feb 2018 10:57:10 +0100
Date: 2018-02-10T10:57:10+01:00	[thread overview]
Message-ID: <p5mflm$ibq$1@dont-email.me> (raw)
In-Reply-To: <p5lne2$fe9$1@franka.jacob-sparre.dk>

On 02/10/2018 04:03 AM, Randy Brukardt wrote:
> 
> Why do you think this is correct? I can't read 3.10.2(32/5) in a way which
> would prevent using a formal subprogram in this way (assuming that the
> profile matches, which is does trivially in this case). Indeed, there is
> specifically an exception allowing "an anonymous access type of an access
> parameter."

IIRC, you can't take 'Access of some attributes that act as subprograms, but you 
can use them as the actual for a generic formal subprogram. So a generic can't 
take 'Access of a generic formal subprogram.

-- 
Jeff Carter
"What lazy lout left these wires all over the lawn?"
Poppy
98

  reply	other threads:[~2018-02-10  9:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 22:11 Formal Subprogram Access Jeffrey R. Carter
2018-02-10  3:03 ` Randy Brukardt
2018-02-10  9:57   ` Jeffrey R. Carter [this message]
2018-02-13  5:51     ` Randy Brukardt
2018-02-13  9:24       ` AdaMagica
2018-02-13  9:41         ` Dmitry A. Kazakov
2018-02-13 10:28           ` AdaMagica
2018-02-14  0:47             ` Randy Brukardt
2018-02-14  8:19               ` Dmitry A. Kazakov
2018-02-14 10:01                 ` Jacob Sparre Andersen
2018-02-14 11:07                   ` Dmitry A. Kazakov
2018-02-13 12:24       ` Simon Wright
2018-02-14  0:53         ` Randy Brukardt
2018-02-14 14:36           ` Simon Wright
2018-02-15  4:56             ` Randy Brukardt
2018-02-15 13:12               ` Simon Clubley
2018-02-15 16:38                 ` Simon Wright
2018-02-15 18:40                   ` Simon Clubley
2018-02-15 16:19               ` Simon Wright
2018-02-15 23:03               ` Randy Brukardt
2018-02-13 17:34       ` Jeffrey R. Carter
2018-02-13 18:31         ` AdaMagica
2018-02-14  0:57           ` Randy Brukardt
2018-02-10 14:55   ` AdaMagica
2018-02-21 17:51 ` Jeffrey R. Carter
replies disabled

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