comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: set_index and and end_of_file with just a stream reference
Date: Sat, 20 Feb 2021 18:59:20 +0100	[thread overview]
Message-ID: <s0rilm$1f1k$1@gioia.aioe.org> (raw)
In-Reply-To: 1cd1f911-ab74-464a-8eff-b6f3d79bfe8an@googlegroups.com

On 2021-02-20 17:30, Mehdi Saada wrote:

> Now talking about streams, since there is no stream_size for composite types, how do I get the equivalent data for the default implementation of input/output attributes for composite types ?

You don't, it is useless.

> Must I compute it with offset size or whatnot ?

You must not.

As a general advice, instead of asking for fixing wrong solutions, 
first, try to state the problem at hand. Counting sizes and offsets of 
external representations is not a problem, it is a [wrong] solution of 
some other problem.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2021-02-20 17:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 15:26 set_index and and end_of_file with just a stream reference Mehdi Saada
2021-02-20 15:35 ` Mehdi Saada
2021-02-20 16:01   ` Simon Wright
2021-02-20 16:04 ` Dmitry A. Kazakov
2021-02-20 16:22   ` Mehdi Saada
2021-02-20 16:30     ` Mehdi Saada
2021-02-20 17:59       ` Dmitry A. Kazakov [this message]
2021-02-20 19:08         ` Mehdi Saada
2021-02-20 21:41           ` Simon Wright
2021-02-21  0:22           ` Dmitry A. Kazakov
2021-02-23 17:21           ` Shark8
2021-02-23 17:56           ` J-P. Rosen
2021-02-20 17:52     ` Dmitry A. Kazakov
2021-02-21  1:56   ` Randy Brukardt
replies disabled

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