From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Ada.Storage_IO: applied example?
Date: Tue, 23 Oct 2012 14:02:43 -0700
Date: 2012-10-23T14:02:43-07:00 [thread overview]
Message-ID: <k670lo$rvm$1@dont-email.me> (raw)
In-Reply-To: <ywjs0tiunb78$.127928y2jnnd0$.dlg@40tude.net>
On 10/23/2012 01:28 PM, Dmitry A. Kazakov wrote:
> On Tue, 23 Oct 2012 21:42:43 +0200, Yannick Duch�ne (Hibou57) wrote:
>
>> I'm seeking for a tiny use case showing `Ada.Storage_IO` in action.
>
> It looks useless at first glance. The buffer size is fixed and
> implementation defined(!). Why would anybody use that rather than plain
> array?
The buffer is the correct size that corresponds to an object of Element_Type.
Much easier than figuring that out oneself.
--
Jeff Carter
"Pray that there's intelligent life somewhere up in
space, 'cause there's bugger all down here on earth."
Monty Python's Meaning of Life
61
next prev parent reply other threads:[~2012-10-29 2:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 19:42 Ada.Storage_IO: applied example? Yannick Duchêne (Hibou57)
2012-10-23 20:28 ` Dmitry A. Kazakov
2012-10-23 20:56 ` Yannick Duchêne (Hibou57)
2012-10-23 21:21 ` Adam Beneschan
2012-10-23 21:02 ` Jeffrey Carter [this message]
2012-10-24 7:20 ` Dmitry A. Kazakov
2012-10-24 5:03 ` J-P. Rosen
2012-10-24 7:34 ` Dmitry A. Kazakov
2012-10-24 9:49 ` AdaMagica
2012-10-24 10:28 ` Dmitry A. Kazakov
2012-10-24 11:51 ` Yannick Duchêne (Hibou57)
2012-10-24 12:27 ` Dmitry A. Kazakov
2012-10-24 14:03 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox