comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Access to procedure and generics
Date: Tue, 28 Aug 2012 09:01:53 -0700 (PDT)
Date: 2012-08-28T09:01:53-07:00	[thread overview]
Message-ID: <052f9b83-3a8c-41b1-981b-4a0020bc1cab@googlegroups.com> (raw)
In-Reply-To: <647e1a9e-e8be-4ad2-a9d4-21c8ae6f52f2@googlegroups.com>

On Tuesday, August 28, 2012 8:57:36 AM UTC-7, Adam Beneschan wrote:

> The problem with your generic code is that the generic *could* be instantiated 
> inside a subprogram, using a "local subprogram" as the HANDLER parameter.

This was worded badly.  

The problem with your generic code is that the generic *could* be instantiated inside a subprogram, and then HANDLER would become a "local subprogram", which means Handler'Access can't be used as a global access type.

                            -- Adam



  reply	other threads:[~2012-08-28 16:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28  9:46 Access to procedure and generics Markus Schöpflin
2012-08-28 10:20 ` Egil Høvik
2012-08-28 10:22   ` Egil Høvik
2012-08-28 10:32     ` Markus Schöpflin
2012-08-31 14:14       ` Robert A Duff
2012-08-28 10:41 ` Georg Bauhaus
2012-08-28 10:47   ` Markus Schöpflin
2012-08-28 15:57 ` Adam Beneschan
2012-08-28 16:01   ` Adam Beneschan [this message]
2012-08-29  3:52   ` Brad Moore
2012-08-29 11:25   ` Markus Schöpflin
replies disabled

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