From: Jano <nono@celes.unizar.es>
Subject: Re: Gnat.Sockets.Stream memory "leak"
Date: Wed, 2 Jul 2003 22:51:21 +0200
Date: 2003-07-02T22:51:21+02:00 [thread overview]
Message-ID: <MPG.196d6434b4dc6d79989731@News.CIS.DFN.DE> (raw)
In-Reply-To: 3f02ab2c$1@epflnews.epfl.ch
=?UTF-8?B?Um9kcmlnbyBHYXJjw61h?= <rodrigo.garcia.ARROBA.epfl.ch> dice...
> Jano wrote:
>
> > And, as a side note, why doesn't exist a Stream_access type in
> > Ada.Streams? I find somewhat inconvenient defining it in my packages and
> > converting here and there.
>
> My opinion is that they left this for each concrete implementation of
> streams. For instance, Ada.Streams.Streams_IO has the Stream_Access type
> and GNAT.Sockets has it as well. You do not have to define it in your
> own packages.
That's okay, I'm thinking more about when I need to store an access
somewhere (not merely pass it as an access parameter), being it
completely irrelevant what is the precise accessed stream. Then I need
to roll out my own stream_access to Root'Class.
--
-------------------------
Jano
402450.at.cepsz.unizar.es
-------------------------
next prev parent reply other threads:[~2003-07-02 20:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-01 19:04 Gnat.Sockets.Stream memory "leak" Jano
2003-07-02 9:50 `
2003-07-02 20:51 ` Jano [this message]
2003-07-04 10:23 `
2003-07-04 14:04 ` Jano
2003-07-07 8:39 `
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox