Re: type and subtype
- From: Ludovic Brenta <ludovic.brenta@xxxxxxxxxx>
- Date: Mon, 25 Jul 2005 23:59:39 +0200
Jeffrey Carter <spam@xxxxxxxx> writes:
> Dmitry A. Kazakov wrote:
> Integer'Size = 32
> Natural'Size = 31
>
> because representations of subtypes are not required to be the same.
And this all confirms my initial point: conversions between subtypes
of the same type involve run-time checks, which may raise
Constraint_Error. Additionally, in some (but not all) cases, implicit
conversions may involve changes in representation, i.e. an actual
conversion which is not a no-op.
--
Ludovic Brenta.
.
- References:
- type and subtype
- From: Douglas Chong
- Re: type and subtype
- From: Ludovic Brenta
- Re: type and subtype
- From: Jeffrey Carter
- Re: type and subtype
- From: Dmitry A. Kazakov
- Re: type and subtype
- From: Jeffrey Carter
- type and subtype
- Prev by Date: Re: Isn't this in favour of Ada??
- Next by Date: Re: Help needed for ada package
- Previous by thread: Re: type and subtype
- Next by thread: Re: type and subtype
- Index(es):
Relevant Pages
|