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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,54aae3da1cf935cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail From: Luca Stasio User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: it, en, en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Singleton Pattern References: <%Fi1d.245967$OR2.11136154@news3.tin.it> <14p6ezf3vze8j$.j05arkr066wi.dlg@40tude.net> <87llfdgcdf.fsf@deneb.enyo.de> <4147ed82$1_1@baen1673807.greenlnk.net> In-Reply-To: <4147ed82$1_1@baen1673807.greenlnk.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 15 Sep 2004 19:38:20 GMT NNTP-Posting-Host: 80.117.234.190 X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it" X-Trace: news4.tin.it 1095277100 80.117.234.190 (Wed, 15 Sep 2004 21:38:20 MET DST) NNTP-Posting-Date: Wed, 15 Sep 2004 21:38:20 MET DST Organization: TIN Xref: g2news1.google.com comp.lang.ada:3755 Date: 2004-09-15T19:38:20+00:00 List-Id: Martin Dowie ha scritto: > Luca Stasio wrote: > > >>Hi, is the one from Martin Dowie and Steve a right solution? > > > Both are "right" in that they offer the solution you require (an OO > singleton). The difference in is in implementation. While the code I gave > you works, I'd agree with Steve that there is a "more Ada-way" of > implementing it. But you can use the code I sent 'as is' without any > problems. > > -- Martin > > As I think... thanx a lot !!!