comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Slice and Unbounded String
Date: 1996/12/01
Date: 1996-12-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.849445209@merv> (raw)
In-Reply-To: E1prut.2L3@world.std.com


Bob Duff said (of the bogus declaration of String_Access in
Ada.Strings.Unbounded):

"Somebody stuck this in at the last minute, just as a convenience."

Are you sure of this? Who? And why did it end up so obviously in the
wrong place? With a bogus justification:

75   The type String_Access provides a (non-private) access type for explicit
processing of unbounded-length strings.  The procedure Free performs an
unchecked deallocation of an object of type String_Access.


Since the type String_Access has nothing whatsoever to do with the
type Unbounded_String, I find the wording in para 75 incomprehensible.

Mind you a standard String_Access type would be a VERY helpful addition
to the language, because then everyone could use it easily, and you would
get better interchangable reuse of standard components using this type.

Ada.Strings would be a good place to put it, since there is almost
nothing there now, but you definitely do NOT want to casually drag
in Strings.Unbvounded just to get this definition.





  reply	other threads:[~1996-12-01  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bbdc70$2e557160$262a6282@cln49ae>
1996-11-27  0:00 ` Slice and Unbounded String Robert A Duff
1996-11-30  0:00   ` Robert Dewar
1996-12-01  0:00     ` Robert A Duff
1996-12-01  0:00       ` Robert Dewar [this message]
1996-12-01  0:00         ` Ben Brosgol
1996-12-09  0:00     ` Gnat v3.05 bug or compilation problem MAKOUDI Jaouad (Stag. Kermarrec)
1996-12-09  0:00       ` Larry Kilgallen
1996-12-09  0:00       ` Root of a GNAT problem (was: " Peter Hermann
1996-12-09  0:00         ` Norman H. Cohen
1996-12-09  0:00         ` Larry Kilgallen
1996-12-09  0:00           ` Robert Dewar
1996-12-10  0:00             ` Larry Kilgallen
1996-12-10  0:00               ` Robert Dewar
1996-12-10  0:00             ` Peter Hermann
1996-12-10  0:00               ` Robert Dewar
1996-12-10  0:00             ` Tom Moran
1996-12-11  0:00               ` Robert Dewar
1996-12-18  0:00               ` Ted Dennison
1996-12-18  0:00                 ` Tom Moran
1996-12-23  0:00                   ` Robert Dewar
1996-12-09  0:00         ` Robert Dewar
1996-12-10  0:00           ` Ken Garlington
1996-12-10  0:00             ` Robert Dewar
1996-12-10  0:00             ` Tom Moran
1996-12-11  0:00               ` Larry Kilgallen
1996-12-11  0:00                 ` Robert Dewar
1996-12-11  0:00                 ` Norman H. Cohen
1996-12-11  0:00                   ` Tom Moran
1996-12-12  0:00                     ` Larry Kilgallen
1996-12-11  0:00               ` Peter Hermann
1996-12-11  0:00                 ` Robert Dewar
1996-12-11  0:00               ` Robert Dewar
1996-12-12  0:00               ` John Cosby
1996-12-13  0:00                 ` Robert Dewar
1996-11-27  0:00 ` Slice and Unbounded String Robert Dewar
replies disabled

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