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,b88383a5d9c51aa0 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada-Singleton-Why does it work like this? References: <5a7a870c-40e2-4803-8753-0f9cfd2b800f@k2g2000yql.googlegroups.com> <6d2b2c67-22fb-4283-87ab-58357e47d5ca@v39g2000yqm.googlegroups.com> In-Reply-To: <6d2b2c67-22fb-4283-87ab-58357e47d5ca@v39g2000yqm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <05fyl.626291$yE1.263576@attbi_s21> NNTP-Posting-Host: 173.16.158.68 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1237941692 173.16.158.68 (Wed, 25 Mar 2009 00:41:32 GMT) NNTP-Posting-Date: Wed, 25 Mar 2009 00:41:32 GMT Organization: AT&T ASP.att.net Date: Wed, 25 Mar 2009 00:41:32 GMT Xref: g2news2.google.com comp.lang.ada:5246 Date: 2009-03-25T00:41:32+00:00 List-Id: Martin wrote: > > But you can not derive a class from this: Since I am not a fan of programming by extension, I consider this a good thing. > Now you could argue that there should just be a "package > Print_Manager" and no need for a Print_Manager type... Precisely. If you need several of these, then the package should be generic. Can you call it a singleton when you have several instances? -- Jeff Carter "We use a large, vibrating egg." Annie Hall 44