From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,PDS_OTHER_BAD_TLD, URI_HEX autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c938855fbb4e2028 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-02 13:53:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!69116-cm.able.ES!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: Gnat.Sockets.Stream memory "leak" Date: Wed, 2 Jul 2003 22:51:21 +0200 Message-ID: References: <3f02ab2c$1@epflnews.epfl.ch> NNTP-Posting-Host: 69116-cm.able.es (212.97.169.116) X-Trace: fu-berlin.de 1057179201 34745802 212.97.169.116 (16 [49872]) X-Newsreader: MicroPlanet Gravity v2.50 Xref: archiver1.google.com comp.lang.ada:39993 Date: 2003-07-02T22:51:21+02:00 List-Id: =?UTF-8?B?Um9kcmlnbyBHYXJjw61h?= 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 -------------------------