<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>deffbeff &#187; C++</title>
	<atom:link href="http://www.deffbeff.com/blog/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deffbeff.com/blog</link>
	<description>Mostly software</description>
	<lastBuildDate>Thu, 03 Dec 2009 23:00:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>underscore t reserved!</title>
		<link>http://www.deffbeff.com/blog/2009/12/underscore-t-reserved/</link>
		<comments>http://www.deffbeff.com/blog/2009/12/underscore-t-reserved/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 22:59:35 +0000</pubDate>
		<dc:creator>Matthew Gilbert</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Posix]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Posix C++ Programming NamingConventions]]></category>

		<guid isPermaLink="false">http://www.deffbeff.com/blog/2009/12/underscore-t-reserved/</guid>
		<description><![CDATA[Through a recent stackoverflow question I learned that Posix reserves any identifier ending in “_t”. News to me! I really liked naming my classes starting with a lowercase letter and ending in an “_t”. This permits code like: class list_t { }; ... int main(int argc, char *argv[]) { list_t list; } This pretty much [...]]]></description>
			<content:encoded><![CDATA[<p>Through a recent stackoverflow question I learned that Posix reserves any identifier ending in “_t”. News to me! I really liked naming my classes starting with a lowercase letter and ending in an “_t”. This permits code like: </p>
<pre>     class list_t { };
     ...
     int
     main(int argc, char *argv[])
     {
          list_t list;
     }</pre>
</p>
<p>This pretty much forces me to start any type in the global namespace with a capitol letter (not my preference). To keep things consistent, that means all my classes/structs will now start with a capitol letter. See <a href="http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html">here</a> for the posix rules.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deffbeff.com/blog/2009/12/underscore-t-reserved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
