Re: Default rep specs for record types - documented??
- From: "Steve" <nospam_steved94@xxxxxxxxxxx>
- Date: Thu, 3 Nov 2005 18:36:42 -0800
"Anonymous Coward" <bogus_addy@xxxxxxxxxxxxxxxx> wrote in message
news:slrndmloee.kq0.bogus_addy@xxxxxxxxxxxxxxxxxxxx
> I'm interested in finding out what the default representation of a
> record type is. Can I expect the sequence of elements in the default
> representation to match the sequence they are defined in?
>
> Pointers to where this information can be found would also be
> appreciated, as Cohen's book and Google fail to answer this.
>
Look in the Ada 95 LRM section 13, Representation Issues
Section 13.1 paragraph 19
If an aspect of representation of an entity is not specified, it is chosen
by default in an unspecified manner.
So... if it matters, use a representation clause.
Steve
(The Duck)
.
- Follow-Ups:
- Re: Default rep specs for record types - documented??
- From: Marc A. Criley
- Re: Default rep specs for record types - documented??
- From: Martin Dowie
- Re: Default rep specs for record types - documented??
- From: Anonymous Coward
- Re: Default rep specs for record types - documented??
- References:
- Default rep specs for record types - documented??
- From: Anonymous Coward
- Default rep specs for record types - documented??
- Prev by Date: Default rep specs for record types - documented??
- Next by Date: Re: Gnat 3.15p pragma issues
- Previous by thread: Default rep specs for record types - documented??
- Next by thread: Re: Default rep specs for record types - documented??
- Index(es):
Relevant Pages
|