From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: implementation of Bounded_String
Date: Thu, 18 Jan 2018 19:25:43 -0600
Date: 2018-01-18T19:25:43-06:00 [thread overview]
Message-ID: <p3rhen$9pd$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 2eaf6de3-ce95-4c69-b22b-441a7ed6d5c9@googlegroups.com
"Mehdi Saada" <00120260a@gmail.com> wrote in message
news:2eaf6de3-ce95-4c69-b22b-441a7ed6d5c9@googlegroups.com...
>I suppose it's obvious but...
> If I want to reimplement IO of Bounded_String without relying on
> Unbounded_String, can I do without getting reading input one character
> after another ? Has it to do with streams ?
Are you talking about the language-defined Bounded_Strings or something
else? There is a package specifically for Text_IO of (language-defined)
Bounded_Strings called Ada.Text_IO.Bounded_IO.
(There's a similar package for Unbounded_Strings, called
Ada.Text_IO.Unbounded_IO. And of course Ada.Text_IO directly contains
operations for the predefined type String.)
Randy.
next prev parent reply other threads:[~2018-01-19 1:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 14:10 implementation of Bounded_String Mehdi Saada
2018-01-18 14:42 ` Dmitry A. Kazakov
2018-01-18 22:24 ` Simon Wright
2018-01-19 1:25 ` Randy Brukardt [this message]
2018-01-19 11:54 ` Mehdi Saada
2018-01-19 12:57 ` Dmitry A. Kazakov
2018-01-19 18:26 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox