<?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: 9.7 &#8212; Overloading the increment and decrement operators</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/</link>
	<description></description>
	<pubDate>Wed, 19 Nov 2008 16:30:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-32310</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 18 Nov 2008 03:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-32310</guid>
		<description>There's no reason at all -- In fact, it's pretty much useless to do.  I've updated the example to remove the extraneous const values.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no reason at all &#8212; In fact, it&#8217;s pretty much useless to do.  I&#8217;ve updated the example to remove the extraneous const values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-32149</link>
		<dc:creator>D</dc:creator>
		<pubDate>Sat, 15 Nov 2008 21:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-32149</guid>
		<description>Why is the return type of the postfix functions const? When a function returns by value rather than reference, isn't the return value always constant? So why does it need to be declared as such in this case?</description>
		<content:encoded><![CDATA[<p>Why is the return type of the postfix functions const? When a function returns by value rather than reference, isn&#8217;t the return value always constant? So why does it need to be declared as such in this case?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-20776</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Sat, 12 Jul 2008 08:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-20776</guid>
		<description>Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-20691</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 11 Jul 2008 02:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-20691</guid>
		<description>Neither the prefix nor postfix operator++ is const -- however, the postfix one returns a const Digit.

When the const is used at the end of a function, it means the entire function is const, and no member variables can be changed.  When the const is used at the start of a function, it means the return type of the function is const.</description>
		<content:encoded><![CDATA[<p>Neither the prefix nor postfix operator++ is const &#8212; however, the postfix one returns a const Digit.</p>
<p>When the const is used at the end of a function, it means the entire function is const, and no member variables can be changed.  When the const is used at the start of a function, it means the return type of the function is const.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-20594</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Wed, 09 Jul 2008 17:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-20594</guid>
		<description>Also, what's the difference in putting the const keyword at the start and at the end of the statement in function declarations?

You covered const member functions previously, where the const keyword is at the end of the statement in the function declaration; but I don't think you've covered what const does at the start of the statement here.</description>
		<content:encoded><![CDATA[<p>Also, what&#8217;s the difference in putting the const keyword at the start and at the end of the statement in function declarations?</p>
<p>You covered const member functions previously, where the const keyword is at the end of the statement in the function declaration; but I don&#8217;t think you&#8217;ve covered what const does at the start of the statement here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-20593</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Wed, 09 Jul 2008 17:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-20593</guid>
		<description>Why are the overloaded postfix operator++'s const but the prefix ones not?</description>
		<content:encoded><![CDATA[<p>Why are the overloaded postfix operator++&#8217;s const but the prefix ones not?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 9.6 &#8212; Overloading operators using member functions</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-14406</link>
		<dc:creator>Learn C++ - &#187; 9.6 &#8212; Overloading operators using member functions</dc:creator>
		<pubDate>Mon, 05 May 2008 02:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-14406</guid>
		<description>[...] 2007      Prev/Next Posts   &#171; 9.5 &#8212; Overloading unary operators +, -, and ! &#124; Home &#124; 9.7 &#8212; Overloading the increment and decrement operators &#187;     Thursday, October 11th, 2007 at 10:22 [...]</description>
		<content:encoded><![CDATA[<p>[...] 2007      Prev/Next Posts   &laquo; 9.5 &#8212; Overloading unary operators +, -, and ! | Home | 9.7 &#8212; Overloading the increment and decrement operators &raquo;     Thursday, October 11th, 2007 at 10:22 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-11187</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 08 Apr 2008 03:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-11187</guid>
		<description>Using the debugger is in the appendix, sections A.4 and A.5.  It's already written and on the site.

I didn't include it as part of the main tutorial because it's not strictly related to C++, but it definitely is an important thing to know.  I will add a note to the end of chapter 0 letting users know about the appendix, because I can see how it might be missed.</description>
		<content:encoded><![CDATA[<p>Using the debugger is in the appendix, sections A.4 and A.5.  It&#8217;s already written and on the site.</p>
<p>I didn&#8217;t include it as part of the main tutorial because it&#8217;s not strictly related to C++, but it definitely is an important thing to know.  I will add a note to the end of chapter 0 letting users know about the appendix, because I can see how it might be missed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-11098</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sun, 06 Apr 2008 17:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-11098</guid>
		<description>Alex -

Somewhere early in this tutorial, preferably at the end of Chapter 0, you need a section on using the debugger and how to step through programs, then encourage your readers to step through the example programs to see how they work.

Thanks!</description>
		<content:encoded><![CDATA[<p>Alex -</p>
<p>Somewhere early in this tutorial, preferably at the end of Chapter 0, you need a section on using the debugger and how to step through programs, then encourage your readers to step through the example programs to see how they work.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/97-overloading-the-increment-and-decrement-operators/#comment-9673</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 16 Mar 2008 04:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/97-overloading-the-and-operators/#comment-9673</guid>
		<description>Looking at the code examples, I don't see where cResult is returned by reference.  cResult is returned by value.  You can't return local values by reference (or address) without problems.</description>
		<content:encoded><![CDATA[<p>Looking at the code examples, I don&#8217;t see where cResult is returned by reference.  cResult is returned by value.  You can&#8217;t return local values by reference (or address) without problems.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
