Path: chuka.playstation.co.uk!news From: "John \( QuietBloke \)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: C++ Question Date: Wed, 11 Apr 2001 23:36:32 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 37 Message-ID: <9b2m86$9sk4@www.netyaroze-europe.com> References: <9b2j3f$9sk3@www.netyaroze-europe.com> <01c0c2d1$878704a0$030be4d5@pal-s-omnibook> NNTP-Posting-Host: host213-122-127-252.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 I must be real dozy tonight. Of course its a singleton ! and I remember now where I read it. Thanx for the quick reply... maybe next time I'll come up with a tricky question. Cheers ( QuietBloke ) "pal" wrote in message news:01c0c2d1$878704a0$030be4d5@pal-s-omnibook... > Hi John, > I believe the model you're depicting is well exposed in the famous book > "Design Patterns" as the "Singleton" (not sure for the English name > though). As I did not personnally implement it in C++, that's all I can > say... > > > pal > > John ( QuietBloke ) wrote in article > <9b2j3f$9sk3@www.netyaroze-europe.com>... > > > What I really want is to > > only create 1 instance of this class. Any additional creates of this > class > > should simply point to the existing one. > > > Im also thinking this MUST be a standard requirement for an app and > therefore a > > simple,elegant standard way of implementing it. > > I'm sure I read something somewhere about this very topic but for the > life > > of me I cant currently remember where I read it. > >