<?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: New things are always better?</title>
	<atom:link href="http://ccgi.hashpling.plus.com/blog/new-things-are-always-better/feed/" rel="self" type="application/rss+xml" />
	<link>http://ccgi.hashpling.plus.com/blog/new-things-are-always-better/</link>
	<description>Don't worry, I've hidden all the complexity behind a macro.</description>
	<lastBuildDate>Tue, 19 May 2009 10:43:05 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomas Guest</title>
		<link>http://ccgi.hashpling.plus.com/blog/new-things-are-always-better/comment-page-1/#comment-515</link>
		<dc:creator>Thomas Guest</dc:creator>
		<pubDate>Fri, 10 Oct 2008 10:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://ccgi.hashpling.plus.com/blog/?p=35#comment-515</guid>
		<description>I&#039;m with you on this one. I&#039;d prefer a more functional style but sometimes it&#039;s just too clumsy in C++, and sometimes I can&#039;t figure out the right combination of standard functors and adaptors.

One tweak I would use here is to avoid breaking out of the loop.

while (s != e &amp;&amp; std::isdigit( *s, classic ) )
{
    ++s;
}</description>
		<content:encoded><![CDATA[<p>I&#8217;m with you on this one. I&#8217;d prefer a more functional style but sometimes it&#8217;s just too clumsy in C++, and sometimes I can&#8217;t figure out the right combination of standard functors and adaptors.</p>
<p>One tweak I would use here is to avoid breaking out of the loop.</p>
<p>while (s != e &amp;&amp; std::isdigit( *s, classic ) )<br />
{<br />
    ++s;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hashpling</title>
		<link>http://ccgi.hashpling.plus.com/blog/new-things-are-always-better/comment-page-1/#comment-514</link>
		<dc:creator>hashpling</dc:creator>
		<pubDate>Thu, 09 Oct 2008 20:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://ccgi.hashpling.plus.com/blog/?p=35#comment-514</guid>
		<description>Hmmm... good question. I think I&#039;d go with the second version. I like the begin/end iterator style idiom but I find that once &#039;bind&#039; starts getting involved some clarity is lost.

One big minus of the first implementation is that the result might depend on whether setlocale has been called earlier in the program and if so, it might also depend on the user and system environment.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; good question. I think I&#8217;d go with the second version. I like the begin/end iterator style idiom but I find that once &#8216;bind&#8217; starts getting involved some clarity is lost.</p>
<p>One big minus of the first implementation is that the result might depend on whether setlocale has been called earlier in the program and if so, it might also depend on the user and system environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Guest</title>
		<link>http://ccgi.hashpling.plus.com/blog/new-things-are-always-better/comment-page-1/#comment-513</link>
		<dc:creator>Thomas Guest</dc:creator>
		<pubDate>Thu, 09 Oct 2008 07:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://ccgi.hashpling.plus.com/blog/?p=35#comment-513</guid>
		<description>Ouch! But seriously, which implementation do you prefer, and why?</description>
		<content:encoded><![CDATA[<p>Ouch! But seriously, which implementation do you prefer, and why?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
