From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Ada.Storage_IO: applied example?
Date: Tue, 23 Oct 2012 22:56:55 +0200
Date: 2012-10-23T22:56:55+02:00 [thread overview]
Message-ID: <op.wmngg50vule2fv@cardamome> (raw)
In-Reply-To: ywjs0tiunb78$.127928y2jnnd0$.dlg@40tude.net
Le Tue, 23 Oct 2012 22:28:34 +0200, Dmitry A. Kazakov
<mailbox@dmitry-kazakov.de> a écrit:
> 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.
Yes, indeed, it looks, lol. That's precisely the reason why I opened this
topic. I would hardly believe something that usefulness belongs to the
standard packages, so I guess I am missing something, and would like to
learn what it is. Is this a kind of holder container?
> The buffer size is fixed and implementation defined(!).
It's implementation defined, but not “randomly”: the size correspond to
the count of storage elements (it self, implementation defined) required
to store an instance of the element type which is the parameter of the
generic package. That's implementation defined, but predictable.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2012-10-28 2:26 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) [this message]
2012-10-23 21:21 ` Adam Beneschan
2012-10-23 21:02 ` Jeffrey Carter
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