Article View: borland.public.cppbuilder.nativeapi
Article #4807Re: closing form
From: Remy Lebeau (TeamB)
Date: Wed, 23 Nov 2005 22:19
Date: Wed, 23 Nov 2005 22:19
13 lines
1491 bytes
1491 bytes
"Alfred" <alf@no.spam.not.valid.email> wrote in message news:43845eca$1@newsgroups.borland.com... > Why "const AnsiString &FileName" and not a simple "String FileName" ? It is more efficient. Using 'String FileName', a temporary AnsiString object that copies the original string data has to be created every time the method is called. Using 'const AnsiString &FileName' instead, the original AnsiString is passed in as-is and no temporary object is created. Gambit
Technical Details
Message-ID:
<4384eafc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4383d048$1@newsgroups.borland.com> <4383e16c$1@newsgroups.borland.com> <43845eca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d517b38f0628b82 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4383d048$1@newsgroups.borland.com> <4383e16c$1@newsgroups.borland.com> <43845eca$1@newsgroups.borland.com> Subject: Re: closing form Date: Wed, 23 Nov 2005 14:19:39 -0800 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4384eafc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132784380 68.69.17.41 (23 Nov 2005 14:19:40 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail