comp.lang.ada
 help / color / mirror / Atom feed
From: "Ed Falis" <falis@verizon.net>
Subject: Re: Discriminated types with default discriminants
Date: Thu, 03 Nov 2005 16:21:35 GMT
Date: 2005-11-03T16:21:35+00:00	[thread overview]
Message-ID: <op.szoad9vo5afhvo@localhost> (raw)
In-Reply-To: dkdbjk$cd8$1@sunnews.cern.ch

GNAT attempts to allocate the maximum size when an object with a defaulted  
discriminant is declared, since different sized values can be assigned to  
it.  The alternative, used in the old Alsys compilers, is to allocate for  
the defaulted size, then perform reallocation during assignment if a  
differently sized value is assigned.  Both approaches are allowed  
implementations with different tradeoffs.



  parent reply	other threads:[~2005-11-03 16:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03 15:50 Discriminated types with default discriminants Maciej Sobczak
2005-11-03 16:06 ` Martin Krischik
2005-11-03 23:10   ` Robert A Duff
2005-11-04  5:01     ` Jeffrey R. Carter
2005-11-03 16:21 ` Ed Falis [this message]
2005-11-03 17:28 ` Dmitry A. Kazakov
2005-11-03 18:51 ` Jeffrey R. Carter
2005-11-03 23:08   ` Robert A Duff
2005-11-04  0:08     ` Adam Beneschan
2005-11-29  2:49       ` Randy Brukardt
2005-12-02 18:22         ` Robert A Duff
2005-11-04  9:18   ` Maciej Sobczak
2005-11-04  3:27 ` Brian May
2005-11-04 13:09   ` Stephen Leake
2005-11-04 17:58   ` Martin Krischik
replies disabled

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