From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Re: Program identification
Date: 1996/08/31
Date: 1996-08-31T00:00:00+00:00 [thread overview]
Message-ID: <50aip6$f44@goanna.cs.rmit.edu.au> (raw)
In-Reply-To: INFO-ADA%96082914161709@LISTSERV.NODAK.EDU
Robert A Duff writes:
"How is:
P'Identity
different from:
"P"
"
It would be in generics (if p'identity is defined for the
instantiation, and not the generic itself).
with text_io; use text_io;
generic
procedure wow is
begin
put_line("my name is " & p'identity);
end;
procedure fred is new wow;
...
fred; -- outputs 'my name is fred'
I've got no idea how hard this would be, or even of its worth.
I presume you would have to include a hidden parameter to the
generic.
Dale
next prev parent reply other threads:[~1996-08-31 0:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-29 0:00 Program identification Chris Sparks
1996-08-31 0:00 ` Dale Stanbrough [this message]
1996-08-31 0:00 ` Ray Blaak
1996-08-31 0:00 ` Robert A Duff
1996-08-31 0:00 ` Ray Blaak
1996-08-31 0:00 ` Robert A Duff
1996-09-02 0:00 ` Stephen & Tammy House
1996-09-03 0:00 ` David C. Hoos, Sr.
1996-09-13 0:00 ` James A. Krzyzanowski
1996-09-14 0:00 ` Ken Garlington
1996-09-15 0:00 ` Larry Kilgallen
-- strict thread matches above, loose matches on Subject: below --
1996-08-31 0:00 tmoran
1996-08-31 0:00 ` Robert A Duff
1996-09-02 0:00 tmoran
1996-09-03 0:00 ` Joel VanLaven
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox