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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,100eb0a59892e906 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sat, 25 Oct 2008 17:43:26 +0200 Subject: Re: How to pass around access types to interfaces? From: "Martin Krischik" Organization: Martin Krischik, Softwareentwicklung Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Newsgroups: comp.lang.ada References: Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.60 (MacIntel) NNTP-Posting-Host: 213.221.211.79 X-Trace: news.sunsite.dk DXC=EQiZ?\`b0^b;WQX83EhllKIZjjVCVEl]01T`Rm1cHh X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.lang.ada:8220 Date: 2008-10-25T17:43:26+02:00 List-Id: Am 24.10.2008, 13:45 Uhr, schrieb Sven : > type My_Interface_Access is access all My_Interface'Class; Do you realy need an access type? Read: http://en.wikibooks.org/wiki/Ada_Programming/Object_Orientation#The_class-wide_type If so, does it need to be an access all? Read: http://en.wikibooks.org/wiki/Ada_Programming/Types/access#Access_vs._access_all Six month after I switched from C++ to Ada I removed about 80% access types from the code I created until then. And from those access types which remained more did not need the "all" and I consequently removed that as well. Martin -- Martin Krischik