From: Blady <p.p11@orange.fr>
Subject: Re: String_Access in unbounded string handling?
Date: Wed, 17 Jan 2024 10:54:24 +0100 [thread overview]
Message-ID: <uo884g$1um0f$1@dont-email.me> (raw)
In-Reply-To: <uo7a76$1mcac$1@dont-email.me>
Le 17/01/2024 à 02:24, Randy Brukardt a écrit :
> "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> wrote in message
> news:uo0fs5$dja6$1@dont-email.me...
>> On 2024-01-14 12:05, Blady wrote:
>>>
>>> String_Access is defined in A.4.5 Unbounded-Length String Handling:
>>> 7 type String_Access is access all String;
>>>
>>> and note:
>>> 75 The type String_Access provides a (nonprivate) access type for
>>> explicit processing of unbounded-length strings.
>>>
>>> I wonder what String_Access is for and what could be "explicit
>>> processing"?
>>
>> String_Access is a mistake that should not exist.
>
> I agree with Jeffrey. Whatever reason it was initially put into the package
> has long since ceased to be relevant. And, as Dmitry notes, when you want
> such a type, it's usually because you didn't want to use
> Ada.Strings.Unbounded (or Bounded). So the placement is odd at best.
>
> Randy.
Thanks for all your answers,
This is probably a very minor subject, however I submitted it:
https://github.com/Ada-Rapporteur-Group/User-Community-Input/issues/79
Pascal.
next prev parent reply other threads:[~2024-01-17 9:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-14 11:05 String_Access in unbounded string handling? Blady
2024-01-14 11:17 ` Jeffrey R.Carter
2024-01-14 15:12 ` Dmitry A. Kazakov
2024-01-17 1:30 ` Randy Brukardt
2024-01-17 1:24 ` Randy Brukardt
2024-01-17 9:54 ` Blady [this message]
2024-01-17 13:34 ` Tucker Taft
2024-01-19 1:36 ` Randy Brukardt
2024-01-30 15:53 ` Blady
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox