From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Generics and null procedures
Date: 13 Apr 2003 14:56:56 -0500
Date: 2003-04-13T14:56:56-05:00 [thread overview]
Message-ID: <sfwnjkDEa3Cv@eisner.encompasserve.org> (raw)
In-Reply-To: b7cb0a$8hd$1@news.onet.pl
In article <b7cb0a$8hd$1@news.onet.pl>, "kat-Zygfryd" <6667@wp.pl> writes:
> generic
> (...)
> with procedure Proc;
> package Pack is....
> ---
> procedure NullProc is
> begin null; end NullProc;
> ---
> package NewPack is new Pack(NullProc);
> ---
>
> My question is: is the compiler smart enough
> to ignore all calls to NullProc in Pack, or is
> it going to call this obsolete procedure?
Certainly that depends on what compiler, which you have not indicated.
next prev parent reply other threads:[~2003-04-13 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-13 18:40 Generics and null procedures kat-Zygfryd
2003-04-13 19:56 ` Larry Kilgallen [this message]
2003-04-13 21:06 ` kat-Zygfryd
2003-04-14 15:45 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox