🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.objects
Article #16520

Re: Dlaczego singletony?

#16520
From: Damian 'legion' Szuberski
Date: Mon, 23 Apr 2007 11:54
9 lines
1143 bytes
On 2007-04-23,  dOvOb wrote:
> Dlaczego singleton jest przewaznie przedstawiany w C++ jako klasa o jednej
> instancji i o metodzie dostepowej (w stylu "getInstance"), a nie jako klasa ze
> wszystkimi metodami statycznymi? (cos jak przestrzen nazw, tylko niektore
> skladowe moga byc "private")
Najpierw dowiedz się co to jest ten 'singleton'.

-- 
Damian Szuberski
Technical Details
Message-ID: <f0i6p5$d5r$2@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <f0i3to$bq0$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: Damian 'legion' Szuberski <legion@wmid.amu.edu.cutthisjunk.pl>
Newsgroups: pl.comp.objects
Subject: Re: Dlaczego singletony?
Date: Mon, 23 Apr 2007 11:54:13 +0000 (UTC)
Organization: Onet.pl
Lines: 9
Message-ID: <f0i6p5$d5r$2@news.onet.pl>
References: <f0i3to$bq0$1@inews.gazeta.pl>
NNTP-Posting-Host: bastion.campus.luth.se
Mime-Version: 1.0
X-Trace: news.onet.pl 1177329253 13499 130.240.201.225 (23 Apr 2007 11:54:13 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Mon, 23 Apr 2007 11:54:13 +0000 (UTC)
X-Sender: r9wfgjZVbN1wMLpeEh7o81UXY43M1DYm
User-Agent: slrn/0.9.8.1 (Linux)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit