Article View: borland.public.cppbuilder.nativeapi
Article #810Re: ensuring CriticalSections are release..
From: Clayton Arends
Date: Tue, 15 Jan 2008 06:52
Date: Tue, 15 Jan 2008 06:52
15 lines
1656 bytes
1656 bytes
"Dennis Jones" <nospam@nospam.com> wrote in message news:478be3e4$1@newsgroups.borland.com... > [ > Aside: the & (address of) operator is not needed: > > ScopeGuardImpl1<void (*)(char*), char*>::MakeGuard(DeleteIt, a); > ] That's personal preference. I always prefer the address-of notation when grabbing the address of a function/method. There's a pretty big thread discussion about this that I was involved in if you'd like to look for it. ;-) Clayton
Technical Details
Message-ID:
<478c5842$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<478a96e3@newsgroups.borland.com> <478b0076$1@newsgroups.borland.com> <478bac9a$1@newsgroups.borland.com> <478bba5f$1@newsgroups.borland.com> <478be3e4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,266d339b0fd4ba38 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <478a96e3@newsgroups.borland.com> <478b0076$1@newsgroups.borland.com> <478bac9a$1@newsgroups.borland.com> <478bba5f$1@newsgroups.borland.com> <478be3e4$1@newsgroups.borland.com> In-Reply-To: <478be3e4$1@newsgroups.borland.com> Subject: Re: ensuring CriticalSections are release.. Date: Mon, 14 Jan 2008 22:52:31 -0800 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 NNTP-Posting-Host: 68.113.27.46 Message-ID: <478c5842$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1200379970 68.113.27.46 (14 Jan 2008 22:52:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail