Re: Refactoring Patch

David Vrabel <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <[email protected]>
> At last I want to say that C++ has good and bad points. A small call
> with std::string can lead to a lot of mallocs because the object could
> be copied around.

No.  std::string uses copy-on-write.

(Or rather it can and I believe GNU libstdc++ does so.)

David Vrabel



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.