comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Bases 1.52
Date: Sun, 14 Sep 2003 23:56:13 +0100
Date: 2003-09-14T23:56:13+01:00	[thread overview]
Message-ID: <bk2rmc$olhm6$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: 3F64B1B3.2070305@attbi.com

"Robert I. Eachus" <rieachus@attbi.com> wrote in message
news:3F64B1B3.2070305@attbi.com...

> But like unbounded string types, or a discriminated record
> type without a default value for the discriminant, you must
> provide an initial value

An initial value is not required for an object of type
Ada.Strings.Unbounded.Unbounded_String. It is initialised by default to an
empty string [RM95 A.4.5.(73)]. I guess you meant "... like objects declared
as being of an unconstrained subtype with no constraint, such as 'String',
or of a discriminated record subtype which does not have default expressions
for the discriminants and with no constraint, ...".

> for any objects of type T'Class you declare.  (Matt's
> examples showed  this.) It would be nice in Ada 200Y
> to add a short technical term to describe these types
> of types.

Do you mean other than the term "indefinite"? [RM95 3.3(23), 3.7(26)]

--
Nick Roberts
Jabber: debater@charente.de [ICQ: 159718630]






  reply	other threads:[~2003-09-14 22:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 18:59 Bases for the Design of a Standard Container Library for Ada Mário Amado Alves
2003-09-03 20:30 ` Warren W. Gay VE3WWG
2003-09-03 21:07   ` David C. Hoos
2003-09-04  2:19 ` Randy Brukardt
2003-09-04 11:56   ` Mário Amado Alves
2003-09-05  3:55     ` Randy Brukardt
2003-09-05  5:17       ` Matthew Heaney
2003-09-05 11:45         ` Amado Alves
2003-09-05 19:40           ` Randy Brukardt
2003-09-05 15:10         ` Martin Krischik
2003-09-07 18:03           ` Matthew Heaney
2003-09-08 12:54             ` Mário Amado Alves
2003-09-08 17:02 ` Bases 1.57 Martin Krischik
2003-09-08 17:07 ` Bases 1.58 Martin Krischik
2003-09-09 16:37 ` Bases 1.52 Martin Krischik
2003-09-10  7:49   ` Mário Amado Alves
2003-09-11 15:03     ` Martin Krischik
2003-09-12 10:58       ` Mário Amado Alves
2003-09-12 13:05         ` Martin Dowie
2003-09-12 17:49           ` maximum number of lines per spec (was: Bases 1.52) Mário Amado Alves
2003-09-13 12:18             ` Marin David Condic
2003-09-12 15:36         ` Bases 1.52 Martin Krischik
2003-09-14  6:51       ` Matthew Heaney
2003-09-14 14:32         ` Martin Krischik
2003-09-14 18:22         ` Robert I. Eachus
2003-09-14 22:56           ` Nick Roberts [this message]
2003-09-15  0:17             ` Robert I. Eachus
2003-09-14  6:45   ` Matthew Heaney
replies disabled

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