comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Please clear my doubt about variant record type
Date: Mon, 15 May 2006 18:31:14 GMT
Date: 2006-05-15T18:31:14+00:00	[thread overview]
Message-ID: <SN3ag.731851$084.321875@attbi_s22> (raw)
In-Reply-To: <1147686792.273900.278760@j55g2000cwa.googlegroups.com>

Sathish Veluswamy wrote:
> 
> Can you please tell me at what time does the memory is allocated for an
> variant record type. whether the memory is allocated at the time of
> compilation or during run-time..??

In general, no memory is allocated for types of any kind. Memory is 
allocated for objects. All memory allocated for objects is allocated 
during run time. The important question is where that memory is 
allocated: on the stack or on the heap. For unconstrained objects of a 
variant-record type, the answer is compiler dependent.

-- 
Jeff Carter
"I would never want to belong to any club that
would have someone like me for a member."
Annie Hall
41



      parent reply	other threads:[~2006-05-15 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15  9:53 Please clear my doubt about variant record type Sathish Veluswamy
2006-05-15 12:23 ` Georg Bauhaus
2006-05-15 18:31 ` Jeffrey R. Carter [this message]
replies disabled

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