<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CSimpleBuf, a C++ utility class under BSD license</title>
	<atom:link href="http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/</link>
	<description>cogito cogito, ergo cogito sum</description>
	<lastBuildDate>Tue, 07 Sep 2010 16:33:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/comment-page-1/#comment-45631</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 16 Aug 2008 23:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.assarbad.net/20080721/csimplebuf-a-c-utility-class-under-bsd-license/#comment-45631</guid>
		<description>Any objections against a conversion to Delphi?...if I ever got time.</description>
		<content:encoded><![CDATA[<p>Any objections against a conversion to Delphi?&#8230;if I ever got time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/comment-page-1/#comment-44848</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Thu, 31 Jul 2008 08:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.assarbad.net/20080721/csimplebuf-a-c-utility-class-under-bsd-license/#comment-44848</guid>
		<description>:lol:</description>
		<content:encoded><![CDATA[<p> <img src='http://blog.assarbad.net/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nn</title>
		<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/comment-page-1/#comment-44845</link>
		<dc:creator>nn</dc:creator>
		<pubDate>Thu, 31 Jul 2008 05:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.assarbad.net/20080721/csimplebuf-a-c-utility-class-under-bsd-license/#comment-44845</guid>
		<description>Oops - my &lt;sarcasm&gt; and &lt;/sarcasm&gt; tags got clobbered during submit...

You should know the reference.</description>
		<content:encoded><![CDATA[<p>Oops &#8211; my &lt;sarcasm&gt; and &lt;/sarcasm&gt; tags got clobbered during submit&#8230;</p>
<p>You should know the reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/comment-page-1/#comment-44821</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Wed, 30 Jul 2008 11:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.assarbad.net/20080721/csimplebuf-a-c-utility-class-under-bsd-license/#comment-44821</guid>
		<description>a.) what does that have to do with MS? With no big effort this class is fully portable, for example right now it also works with BCB 6.
b.) it isn&#039;t just a good buffer for strings, it can hold arrays of just about anything.
c.) Let&#039;s say you don&#039;t use MFC/ATL already, then this class offers a slim substitute that can also be abused for strings, but also as ordinary buffer.
d.) Let&#039;s say you &lt;em&gt;use&lt;/em&gt; MFC/ATL: have you ever worked with CString as a buffer to be passed to APIs? It&#039;s tedious.

In all those cases this buffer class comes in. Surely, in most projects I&#039;d go for std:string (and friends), not even CString, but even there, the c_str() member function gives you a constant buffer, so you&#039;d have to cast that away (ugly!) or use std::stringbuf (where it gets tedious again) in order to talk to APIs that want buffers.</description>
		<content:encoded><![CDATA[<p>a.) what does that have to do with MS? With no big effort this class is fully portable, for example right now it also works with BCB 6.<br />
b.) it isn&#8217;t just a good buffer for strings, it can hold arrays of just about anything.<br />
c.) Let&#8217;s say you don&#8217;t use MFC/ATL already, then this class offers a slim substitute that can also be abused for strings, but also as ordinary buffer.<br />
d.) Let&#8217;s say you <em>use</em> MFC/ATL: have you ever worked with CString as a buffer to be passed to APIs? It&#8217;s tedious.</p>
<p>In all those cases this buffer class comes in. Surely, in most projects I&#8217;d go for std:string (and friends), not even CString, but even there, the c_str() member function gives you a constant buffer, so you&#8217;d have to cast that away (ugly!) or use std::stringbuf (where it gets tedious again) in order to talk to APIs that want buffers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nn</title>
		<link>http://blog.assarbad.net/20080721/csimplebuf-a-cplusplus-utility-class-under-bsd-license/comment-page-1/#comment-44814</link>
		<dc:creator>nn</dc:creator>
		<pubDate>Wed, 30 Jul 2008 05:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.assarbad.net/20080721/csimplebuf-a-c-utility-class-under-bsd-license/#comment-44814</guid>
		<description>
Doesn&#039;t Microsoft have perfectly good string classes that we can use?

Why do we need another one?
</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t Microsoft have perfectly good string classes that we can use?</p>
<p>Why do we need another one?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
