From: "Ekkehard Morgenstern" <ekkehard.morgenstern@onlinehome.de>
Subject: Re: Problem with protected type
Date: Tue, 25 Nov 2003 19:45:47 +0100
Date: 2003-11-25T19:45:47+01:00 [thread overview]
Message-ID: <bq080n$6u2$1@online.de> (raw)
In-Reply-To: m38ym4xuqq.fsf@insalien.org
"Ludovic Brenta" <ludovic.brenta@insalien.org> schrieb im Newsbeitrag
news:m38ym4xuqq.fsf@insalien.org...
>
> Because, I think, CoreEvent is not completely defined at the point
> where you use it inside BaseEvent. Therefore the compiler does not
> know how much memory to allocate for a BaseEvent.
Yup. I wanted to declare a type, not an object, and forgot the "type"
keyword. ;-)
> By contrast, the access type is completely defined, so you can use it
> in the BaseEvent.
Yeah. I wonder now if I should go and change it back to using direct object
instances instead of class-wide access and dynamic allocation.
next prev parent reply other threads:[~2003-11-25 18:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 15:15 Problem with protected type Ekkehard Morgenstern
2003-11-25 15:43 ` Ekkehard Morgenstern
2003-11-25 16:06 ` Robert I. Eachus
2003-11-25 18:39 ` Ekkehard Morgenstern
2003-11-26 15:43 ` Robert I. Eachus
2003-11-25 16:45 ` Ludovic Brenta
2003-11-25 18:45 ` Ekkehard Morgenstern [this message]
2003-11-25 20:09 ` Randy Brukardt
2003-11-25 18:03 ` Jeffrey Carter
2003-11-25 18:31 ` Ekkehard Morgenstern
2003-11-26 0:42 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox