comp.lang.ada
 help / color / mirror / Atom feed
* Access to classwide type
@ 2000-07-23  0:00 reason67
  2000-07-24  0:00 ` David Botton
  0 siblings, 1 reply; 12+ messages in thread
From: reason67 @ 2000-07-23  0:00 UTC (permalink / raw)


I have what may be a really simple question.

If I have:

type T is abstract tagged private;
type T_Ptr is access T'Class;

How do I deallocate the memory for values in an array of T_Ptr's?

Is it as simple as creating an instantiation of ada.unchecked_conversion
with T'Class and T_Ptr? That seems wrong to me as the various extentions
to T are not known at compile time, but I may be wrong about this.

Any help would be appreciated.
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-07-25  0:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-23  0:00 Access to classwide type reason67
2000-07-24  0:00 ` David Botton
2000-07-24  0:00   ` reason67
2000-07-24  0:00     ` Larry Kilgallen
2000-07-24  0:00       ` reason67
2000-07-24  0:00         ` David Botton
2000-07-24  0:00         ` Larry Kilgallen
2000-07-24  0:00     ` David Starner
2000-07-25  0:00       ` Laurent Guerby
2000-07-24  0:00     ` Pascal Obry
2000-07-24  0:00     ` Pat Rogers
2000-07-25  0:00     ` Matthew J Heaney

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