From: alfonso acosta <alfonso_acosta_mail@yahoo.es>
Subject: Re: deallocating class wide types
Date: Sat, 10 May 2003 14:11:57 +0200
Date: 2003-05-10T14:11:57+02:00 [thread overview]
Message-ID: <3ebcec8d$1_3@news.arrakis.es> (raw)
In-Reply-To: <3ebcea42$1_4@news.arrakis.es>
alfonso acosta wrote:
> procedure Destroy (Object: in out My_Class_Access) is
> begin
> Free(My_Class_Access);
> end Destroy;
>
> end My_Class;
> ------------------------------------------------------------------
>
> I get:
> my_class.adb:9:09: Invalid use of subtype mark in expression or call
Kind of stupid here, Free(Object) works fine (of course :$)
> And, should Destroy work with any type which extends My_Class?
>
> Thanks in advance:
>
> Alfonso Acosta
>
next prev parent reply other threads:[~2003-05-10 12:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 12:02 deallocating class wide types alfonso acosta
2003-05-10 12:11 ` alfonso acosta [this message]
2003-05-10 12:41 ` David C. Hoos
2003-05-12 0:12 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox