<?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: Nuances in C: Struct Assignment in C</title>
	<atom:link href="http://zacharyc.com/2008/03/13/nuances-in-c-struct-assignment-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://zacharyc.com/2008/03/13/nuances-in-c-struct-assignment-in-c/</link>
	<description></description>
	<lastBuildDate>Thu, 01 Sep 2011 19:31:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Priyesh Narayanan</title>
		<link>http://zacharyc.com/2008/03/13/nuances-in-c-struct-assignment-in-c/comment-page-1/#comment-851</link>
		<dc:creator>Priyesh Narayanan</dc:creator>
		<pubDate>Sat, 01 Aug 2009 17:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://zacharyc.com/2008/03/13/nuances-in-c-struct-assignment-in-c/#comment-851</guid>
		<description>Zachary, two things: 
1. What you would find more interesting is that even in C++, this program wouldn&#039;t necessarily depend on the copy constructor - since you only have primitive types in your struct, any decent compiler would in turn let the built-in structure assignment capability take over, instead of generating a copy constructor. This could be called an optimization I guess, and would be compiler dependent. In fact, I was posting something related on my blog.

2. Your program needs correction.</description>
		<content:encoded><![CDATA[<p>Zachary, two things:<br />
1. What you would find more interesting is that even in C++, this program wouldn&#8217;t necessarily depend on the copy constructor &#8211; since you only have primitive types in your struct, any decent compiler would in turn let the built-in structure assignment capability take over, instead of generating a copy constructor. This could be called an optimization I guess, and would be compiler dependent. In fact, I was posting something related on my blog.</p>
<p>2. Your program needs correction.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

