<?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"
	>
<channel>
	<title>Comments on: C++ inline abuse</title>
	<atom:link href="http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/</link>
	<description>software engineering on the mac</description>
	<pubDate>Fri, 05 Dec 2008 09:19:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Greg</title>
		<link>http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-20100</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 20 Jun 2007 01:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-20100</guid>
		<description>Excellent article, Andy, and I am in agreement.

I'm in the process of writing code standards for our program, and although I have cited many of the same reasons you have for not inlining, your voice helps lend additional perspective.  Thanks.</description>
		<content:encoded><![CDATA[<p>Excellent article, Andy, and I am in agreement.</p>
<p>I&#8217;m in the process of writing code standards for our program, and although I have cited many of the same reasons you have for not inlining, your voice helps lend additional perspective.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edd</title>
		<link>http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-17330</link>
		<dc:creator>Edd</dc:creator>
		<pubDate>Fri, 18 May 2007 09:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-17330</guid>
		<description>There is another benefit of inline.
If a function is inline =&#62; it is visible to the compiler at the point of calling so besides prologue and epilogue the compiler can extend the optimization inside the function for that inlining.
But I agree with you that you should do inline only when after a benchmarking you see that you need to improve the performance.</description>
		<content:encoded><![CDATA[<p>There is another benefit of inline.<br />
If a function is inline =&gt; it is visible to the compiler at the point of calling so besides prologue and epilogue the compiler can extend the optimization inside the function for that inlining.<br />
But I agree with you that you should do inline only when after a benchmarking you see that you need to improve the performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-11817</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 05 Apr 2007 21:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-11817</guid>
		<description>Good Article:

Another reason for inline...  code size optimization?!

When using templates, I sometimes inherit a non-templated class from a templated class.  The non-templated class does most of the work, while the templated class uses inlined calls to its base class.  

That way, if the template code is instantiated many times for different types (as with smart pointers), the method code shouldn't be instantiated for each type.</description>
		<content:encoded><![CDATA[<p>Good Article:</p>
<p>Another reason for inline&#8230;  code size optimization?!</p>
<p>When using templates, I sometimes inherit a non-templated class from a templated class.  The non-templated class does most of the work, while the templated class uses inlined calls to its base class.  </p>
<p>That way, if the template code is instantiated many times for different types (as with smart pointers), the method code shouldn&#8217;t be instantiated for each type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DMINATOR</title>
		<link>http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-4178</link>
		<dc:creator>DMINATOR</dc:creator>
		<pubDate>Fri, 02 Feb 2007 15:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/08/21/c-inline-abuse/#comment-4178</guid>
		<description>Good article and well written. I agree with you about how and when the inlines should be used. 

I think the biggest limitation for me is that they should be declared in header file, I generally don't like putting the code there as it makes the header file less readable.

But I still consider them as an option.</description>
		<content:encoded><![CDATA[<p>Good article and well written. I agree with you about how and when the inlines should be used. </p>
<p>I think the biggest limitation for me is that they should be declared in header file, I generally don&#8217;t like putting the code there as it makes the header file less readable.</p>
<p>But I still consider them as an option.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.305 seconds -->
