From: "Jeffrey R. Carter" <spam@spam.com>
Subject: Re: TYPE'Size in static expression
Date: Fri, 21 Oct 2005 22:09:21 GMT
Date: 2005-10-21T22:09:21+00:00 [thread overview]
Message-ID: <lGd6f.4654$4O1.431@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <p06ipbbj9t3d.15cu37vh2fjuo.dlg@40tude.net>
Dmitry A. Kazakov wrote:
> Num_Elements : constant Integer :=
> 8 * Buffer_Size / BaseType'Size;
Right. At least if you allow types with a negative size. Otherwise, "constant
Natural" might be more descriptive.
--
Jeff Carter
"Nobody expects the Spanish Inquisition!"
Monty Python's Flying Circus
22
next prev parent reply other threads:[~2005-10-21 22:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 8:04 TYPE'Size in static expression Francisco J. Montoya
2005-10-21 8:55 ` Dmitry A. Kazakov
2005-10-21 22:09 ` Jeffrey R. Carter [this message]
2005-10-24 10:56 ` Francisco J. Montoya
2005-10-24 11:45 ` Dmitry A. Kazakov
2005-10-24 19:15 ` Jeffrey R. Carter
2005-10-24 20:15 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox