comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Differences with/without .all
Date: Tue, 18 Mar 2008 08:35:47 -0700 (PDT)
Date: 2008-03-18T08:35:47-07:00	[thread overview]
Message-ID: <ca8a7d29-c758-4395-8aae-e5ce12f888ea@s13g2000prd.googlegroups.com> (raw)
In-Reply-To: ca360845-14b0-4818-b15f-17e871b627ba@i12g2000prf.googlegroups.com

On Mar 17, 3:51 pm, I <a...@irvine.com> wrote:

> [The main reason for 6.4(8) is: Suppose "Func" denotes an access-to-
> function type.

A bit sloppy of me... of course I meant "a value of an access-to-
function type".

                                 -- Adam

> If you say Func(param,param,param), this results in an
> implicit dereference of Func, and a call to the function pointed to by
> Func.  But you cannot get a call to the function pointed to by Func if
> there is no parameter list, even if the function type doesn't have any
> parameters, or all parameters have defaults.  You must to say Func.all
> in that case.]





      reply	other threads:[~2008-03-18 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 16:34 Differences with/without .all Alex R. Mosteo
2008-03-17 20:42 ` Randy Brukardt
2008-03-17 20:44 ` Ludovic Brenta
2008-03-17 21:17   ` Eric Hughes
2008-03-17 21:21   ` Georg Bauhaus
2008-03-17 22:51   ` Adam Beneschan
2008-03-18 15:35     ` Adam Beneschan [this message]
replies disabled

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