🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.objects
Article #16370

Re: Typ nale??cy do parametru template'a(czyli STL w parametrze)

#16370
From: Adam Karpierz
Date: Thu, 12 Apr 2007 20:22
42 lines
2679 bytes
Użytkownik "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> napisał:

> W C++ delete mozna nazwac operatorem ew wyrazeniem
> albo funkcja.

> Nie. Czym innym jest wyrażenie delete (nie jest wywołaniem funkcji),
> a czym innym jest operator delete (jest funkcją).

Kurde kurczak nie pisz rzeczy oczywistych.
Widzisz gdzies sprzecznosc miedzy tym co ja napisalem a ty ?
Tam jest ALBO.
Poza tym pisz scisle.
Powinno byc:
"Czym innym jest wyrażenie delete (nie jest li tylko wywołaniem funkcji 
delete),"

> Stwierdzenie, że delete jest funkcją,
> jest wyjątkowo mylące, bo sugeruje, że wyrażenie delete jest funkcją
> (albo wywołaniem funkcji), co jest nieprawdą.

void ::delete(void* ptr)
{
}

To jest pies czy funkcja ?

delete x;

Wyrazenie czy pies ?

void ::delete(void* ptr)
{
}


ALBO

delete x;

Prawda czy falsz ?

AK
Technical Details
Message-ID: <evm4g1$dk8$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <slrnf1kjcu.ave.lrem@lrem.maxnet> <evdlhb$f4p$1@inews.gazeta.pl> <slrnf1kuam.ave.lrem@lrem.maxnet> <evdu5j$341$3@tkdami.pl> <eve1rq$2sk$1@inews.gazeta.pl> <evfipj$b8r$1@tkdami.pl> <evfk7p$bus$1@inews.gazeta.pl> <evfnv7$h5j$1@tkdami.pl> <evfpaj$675$1@inews.gazeta.pl> <evfvr3$nst$1@tkdami.pl> <9p3n13d74m71fuv8t6g3936jgp7opadg1q@4ax.com> <evga2j$207$1@tkdami.pl> <evgfmn$gb5$1@nemesis.news.tpi.pl> <evgnri$bii$1@tkdami.pl> <evgonc$ndo$1@atlantis.news.tpi.pl> <evgpci$ces$1@tkdami.pl> <evgrav$h4p$1@inews.gazeta.pl> <evgsr6$hin$3@tkdami.pl> <evgti6$r3c$1@inews.gazeta.pl> <evi5lh$d3g$1@tkdami.pl> <evi7ac$33n$1@inews.gazeta.pl> <1176338798.15916.5.camel@qrnik> <evkmni$gnc$1@inews.gazeta.pl> <evkp6l$l0r$1@atlantis.news.tpi.pl> <evkra9$7n0$1@inews.gazeta.pl> <evlg0c$nm8$1@tkdami.pl> <evli1j$j4k$1@inews.gazeta.pl> <evlmak$s64$1@tkdami.pl> <evlp53$jeq$1@inews.gazeta.pl> <1176406491.5023.7.camel@qrnik>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "Adam Karpierz" <karpierz@_NOSPAM_python.pl>
Newsgroups: pl.comp.objects
Subject: Re: Typ nale??cy do parametru template'a(czyli STL w parametrze)
Date: Thu, 12 Apr 2007 22:22:38 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 44
Message-ID: <evm4g1$dk8$1@inews.gazeta.pl>
References: <slrnf1kjcu.ave.lrem@lrem.maxnet> <evdlhb$f4p$1@inews.gazeta.pl> <slrnf1kuam.ave.lrem@lrem.maxnet> <evdu5j$341$3@tkdami.pl> <eve1rq$2sk$1@inews.gazeta.pl> <evfipj$b8r$1@tkdami.pl> <evfk7p$bus$1@inews.gazeta.pl> <evfnv7$h5j$1@tkdami.pl> <evfpaj$675$1@inews.gazeta.pl> <evfvr3$nst$1@tkdami.pl> <9p3n13d74m71fuv8t6g3936jgp7opadg1q@4ax.com> <evga2j$207$1@tkdami.pl> <evgfmn$gb5$1@nemesis.news.tpi.pl> <evgnri$bii$1@tkdami.pl> <evgonc$ndo$1@atlantis.news.tpi.pl> <evgpci$ces$1@tkdami.pl> <evgrav$h4p$1@inews.gazeta.pl> <evgsr6$hin$3@tkdami.pl> <evgti6$r3c$1@inews.gazeta.pl> <evi5lh$d3g$1@tkdami.pl> <evi7ac$33n$1@inews.gazeta.pl> <1176338798.15916.5.camel@qrnik> <evkmni$gnc$1@inews.gazeta.pl> <evkp6l$l0r$1@atlantis.news.tpi.pl> <evkra9$7n0$1@inews.gazeta.pl> <evlg0c$nm8$1@tkdami.pl> <evli1j$j4k$1@inews.gazeta.pl> <evlmak$s64$1@tkdami.pl> <evlp53$jeq$1@inews.gazeta.pl> <1176406491.5023.7.camel@qrnik>
NNTP-Posting-Host: dns.welnowiec.net
X-Trace: inews.gazeta.pl 1176409409 13960 83.143.96.1 (12 Apr 2007 20:23:29 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 12 Apr 2007 20:23:29 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-User: karpierz
X-MSMail-Priority: Normal
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit