<?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: The Weirdness of C++</title>
	<atom:link href="http://stuartsierra.com/2007/07/15/the-weirdness-of-c/feed" rel="self" type="application/rss+xml" />
	<link>http://stuartsierra.com/2007/07/15/the-weirdness-of-c</link>
	<description>From programming to everything else</description>
	<lastBuildDate>Sun, 20 May 2012 10:06:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: masonium</title>
		<link>http://stuartsierra.com/2007/07/15/the-weirdness-of-c/comment-page-1#comment-14942</link>
		<dc:creator>masonium</dc:creator>
		<pubDate>Tue, 17 Jul 2007 21:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://stuartsierra.com/2007/07/15/the-weirdness-of-c#comment-14942</guid>
		<description>There is nothing at all strange or unpredictable about assignment in this case.  If anything is strange, it&#039;s that copy constructor invocation and assignment operator invocation look similar. However, it&#039;s not all that surprising either. In the first case, an object is being constructed. In the second case, it&#039;s not. 

C++ creates four methods for you automatically in any empty class. Any class with bare pointers should probably have its own implementation for all four.</description>
		<content:encoded><![CDATA[<p>There is nothing at all strange or unpredictable about assignment in this case.  If anything is strange, it&#8217;s that copy constructor invocation and assignment operator invocation look similar. However, it&#8217;s not all that surprising either. In the first case, an object is being constructed. In the second case, it&#8217;s not. </p>
<p>C++ creates four methods for you automatically in any empty class. Any class with bare pointers should probably have its own implementation for all four.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

