<?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: Memoization</title>
	<atom:link href="http://efesx.com/2010/01/07/memoization/feed/" rel="self" type="application/rss+xml" />
	<link>http://efesx.com/2010/01/07/memoization/</link>
	<description>Technical &#38; low level</description>
	<lastBuildDate>Mon, 30 Apr 2012 17:39:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: rmn</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-163</link>
		<dc:creator>rmn</dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-163</guid>
		<description>It is true that Boost already contains utilities like the ones you have mentioned, thanks for bringing them up. The relevant boost::remove_reference utility can be found &lt;a href=&quot;http://www.boost.org/doc/libs/1_41_0/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.
A point worth noting though, is that there is much to be learned from small snippets like the RemoveRef class mentioned here. So it only benefits more readers that way.

Thanks again for the kind words.</description>
		<content:encoded><![CDATA[<p>It is true that Boost already contains utilities like the ones you have mentioned, thanks for bringing them up. The relevant boost::remove_reference utility can be found <a href="http://www.boost.org/doc/libs/1_41_0/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html" rel="nofollow">here</a>.<br />
A point worth noting though, is that there is much to be learned from small snippets like the RemoveRef class mentioned here. So it only benefits more readers that way.</p>
<p>Thanks again for the kind words.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-162</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Mon, 08 Feb 2010 08:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-162</guid>
		<description>Great post rmn. Maybe you should mention that Boost provides a &quot;remove_reference&quot; class together with other related goodies like &quot;remove_const&quot; or &quot;remove_pointer&quot;</description>
		<content:encoded><![CDATA[<p>Great post rmn. Maybe you should mention that Boost provides a &#8220;remove_reference&#8221; class together with other related goodies like &#8220;remove_const&#8221; or &#8220;remove_pointer&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmn</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-161</link>
		<dc:creator>rmn</dc:creator>
		<pubDate>Fri, 22 Jan 2010 18:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-161</guid>
		<description>That&#039;s exactly what I was going to say. Chips? :)</description>
		<content:encoded><![CDATA[<p>That&#8217;s exactly what I was going to say. Chips? <img src='http://efesx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManicQin</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-160</link>
		<dc:creator>ManicQin</dc:creator>
		<pubDate>Fri, 22 Jan 2010 18:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-160</guid>
		<description>Lately I&#039;m asking and replying too much ;)
It&#039;ll be more STL compatible and you could use bind1st and etc...</description>
		<content:encoded><![CDATA[<p>Lately I&#8217;m asking and replying too much <img src='http://efesx.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
It&#8217;ll be more STL compatible and you could use bind1st and etc&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManicQin</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-159</link>
		<dc:creator>ManicQin</dc:creator>
		<pubDate>Fri, 22 Jan 2010 17:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-159</guid>
		<description>I think that the minute they named the lambda and made it recursive they lost the point behind lambda. :)
IMO lambda should stay small and simple (It becomes unreadable).
Besides, Their way is too intrusive.

In your way you can just apply the functor to any code, and you can apply other functors on top of it.

I see no actual reason to inherit from std::unary_function, maybe only for readability (showing other developers that this is a functor)
Do you see any benefits?</description>
		<content:encoded><![CDATA[<p>I think that the minute they named the lambda and made it recursive they lost the point behind lambda. <img src='http://efesx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
IMO lambda should stay small and simple (It becomes unreadable).<br />
Besides, Their way is too intrusive.</p>
<p>In your way you can just apply the functor to any code, and you can apply other functors on top of it.</p>
<p>I see no actual reason to inherit from std::unary_function, maybe only for readability (showing other developers that this is a functor)<br />
Do you see any benefits?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmn</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-158</link>
		<dc:creator>rmn</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-158</guid>
		<description>And that is done to allow less-restrictive usage.

I like the link to the Visual C++ Team blog, even more so since it deals with Lambda functions (and few other C++0x features). However, I think the implementation here is far more elegant, and can be adapted to work in their scenario as well. We could even make Memoizer inherit from std::unary_function. What do you think?

Thanks for dropping a line.</description>
		<content:encoded><![CDATA[<p>And that is done to allow less-restrictive usage.</p>
<p>I like the link to the Visual C++ Team blog, even more so since it deals with Lambda functions (and few other C++0x features). However, I think the implementation here is far more elegant, and can be adapted to work in their scenario as well. We could even make Memoizer inherit from std::unary_function. What do you think?</p>
<p>Thanks for dropping a line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManicQin</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-157</link>
		<dc:creator>ManicQin</dc:creator>
		<pubDate>Thu, 21 Jan 2010 14:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-157</guid>
		<description>Ignore that I didn&#039;t see that operator() is const</description>
		<content:encoded><![CDATA[<p>Ignore that I didn&#8217;t see that operator() is const</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManicQin</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-156</link>
		<dc:creator>ManicQin</dc:creator>
		<pubDate>Thu, 21 Jan 2010 13:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-156</guid>
		<description>By the way,
Why is cache_ mutable?</description>
		<content:encoded><![CDATA[<p>By the way,<br />
Why is cache_ mutable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManicQin</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-155</link>
		<dc:creator>ManicQin</dc:creator>
		<pubDate>Wed, 20 Jan 2010 12:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-155</guid>
		<description>A different approach to Memoization and fib 

http://blogs.msdn.com/vcblog/archive/2008/11/18/stupid-lambda-tricks.aspx

:)</description>
		<content:encoded><![CDATA[<p>A different approach to Memoization and fib </p>
<p><a href="http://blogs.msdn.com/vcblog/archive/2008/11/18/stupid-lambda-tricks.aspx" rel="nofollow">http://blogs.msdn.com/vcblog/archive/2008/11/18/stupid-lambda-tricks.aspx</a><br />
 <img src='http://efesx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alpmestan</title>
		<link>http://efesx.com/2010/01/07/memoization/#comment-154</link>
		<dc:creator>alpmestan</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://cplusplus.co.il/?p=752#comment-154</guid>
		<description>Very nice ! Thanks for the post.</description>
		<content:encoded><![CDATA[<p>Very nice ! Thanks for the post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

