<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>cplusplus.co.il &#187; mechanisms</title>
	<atom:link href="http://cplusplus.co.il/category/cpp/mechanisms/feed/" rel="self" type="application/rss+xml" />
	<link>http://cplusplus.co.il</link>
	<description>Discussing modern C++ and related topics.</description>
	<lastBuildDate>Tue, 31 Jan 2012 18:28:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cplusplus.co.il' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>cplusplus.co.il &#187; mechanisms</title>
		<link>http://cplusplus.co.il</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cplusplus.co.il/osd.xml" title="cplusplus.co.il" />
	<atom:link rel='hub' href='http://cplusplus.co.il/?pushpress=hub'/>
		<item>
		<title>Exceptional initialization list</title>
		<link>http://cplusplus.co.il/2010/11/30/exceptional-initialization-list/</link>
		<comments>http://cplusplus.co.il/2010/11/30/exceptional-initialization-list/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 21:32:04 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=1082</guid>
		<description><![CDATA[Using the initialization list is very much encouraged in C++, and rightfully so - it has many benefits. But what happens if one of your members fails at initialization and actually throws an exception? Even worse: what happens if that member&#8217;s constructor throws an exception not in your exception specification list? That&#8217;s what happened to me just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=1082&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/11/30/exceptional-initialization-list/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Thunksgiving</title>
		<link>http://cplusplus.co.il/2010/10/31/thunksgiving/</link>
		<comments>http://cplusplus.co.il/2010/10/31/thunksgiving/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 20:59:25 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=1059</guid>
		<description><![CDATA[Quoting Wikipedia: The word thunk has at least three related meanings in computing science. A &#8220;thunk&#8221; may be: A piece of code to perform a delayed computation (similar to a closure) A feature of some virtual function table implementations (similar to a wrapper function) A mapping of machine data from one system-specific form to another, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=1059&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/10/31/thunksgiving/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Catching uncaught exceptions within terminate</title>
		<link>http://cplusplus.co.il/2010/03/21/catching-uncaught-exceptions-within-terminate/</link>
		<comments>http://cplusplus.co.il/2010/03/21/catching-uncaught-exceptions-within-terminate/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 22:41:05 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=625</guid>
		<description><![CDATA[The handler std::terminate() is called whenever the exception handling mechanism cannot find a suitable catch clause for a thrown exception (and in some other cases. For example, when an exception is thrown during the handling of another exception &#8211; see this GotW post about std::uncaught_exception). It is possible to define a custom handler by using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=625&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/03/21/catching-uncaught-exceptions-within-terminate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Template template parameters</title>
		<link>http://cplusplus.co.il/2009/10/19/template-template-parameters/</link>
		<comments>http://cplusplus.co.il/2009/10/19/template-template-parameters/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:24:47 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=376</guid>
		<description><![CDATA[This is actually not a typo, I really meant to repeat the first word. Let&#8217;s see what template template parameters are.. Suppose we have the following definitions: What we would like to do is, write a generic implementation of a set. Our Set implementation should support a generic type T, and any proper container data-structure (such [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=376&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/10/19/template-template-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Exception specifications</title>
		<link>http://cplusplus.co.il/2009/10/06/exception-specifications/</link>
		<comments>http://cplusplus.co.il/2009/10/06/exception-specifications/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:30:01 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=323</guid>
		<description><![CDATA[C++ provides a mechanism that allows any function to declare exactly which exception types it may throw, and these declerations are actually enforced in runtime. We will review exactly how this mechanism works, and why it is usually left unused. Here&#8217;s the proper syntax for providing a list of exceptions that may be thrown during the execution of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=323&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/10/06/exception-specifications/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtual dispatching within a constructor/destructor</title>
		<link>http://cplusplus.co.il/2009/09/30/virtual-dispatching-within-a-constructor-or-a-destructor/</link>
		<comments>http://cplusplus.co.il/2009/09/30/virtual-dispatching-within-a-constructor-or-a-destructor/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 19:15:12 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=294</guid>
		<description><![CDATA[This post continues and explains the previous erroneous post. In the example from the previous post, our base class has invoked a virtual function during the construction of the object, expecting that the correct function would be called. Why was that an error, you ask ? The simple answer is this: You should never invoke virtual functions during [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=294&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/30/virtual-dispatching-within-a-constructor-or-a-destructor/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Everything about namespaces</title>
		<link>http://cplusplus.co.il/2009/09/24/everything-about-namespaces/</link>
		<comments>http://cplusplus.co.il/2009/09/24/everything-about-namespaces/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:42:15 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=252</guid>
		<description><![CDATA[I&#8217;ll assume you are already familiar with the concept of namespaces, and the using keyword. So let me try and introduce some of the less common features of the namespace mechanism.   Anonymous namespaces It is possible to define an anonymous namespace, like so: The contents of an anonymous namespace are considered to be local to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=252&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/24/everything-about-namespaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Reference to temporary</title>
		<link>http://cplusplus.co.il/2009/09/20/reference-to-temporary/</link>
		<comments>http://cplusplus.co.il/2009/09/20/reference-to-temporary/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 15:57:01 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=254</guid>
		<description><![CDATA[This article will discuss references to temporary objects - a mechanism with a few subtleties. Suppose we have defined a function that returns a temporary object: As we all know, the object returned by this function is a temporary string, which lives for the duration of the line it has been defined in (the line invoking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=254&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/20/reference-to-temporary/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Mutable and volatile</title>
		<link>http://cplusplus.co.il/2009/09/16/mutable-and-volatile/</link>
		<comments>http://cplusplus.co.il/2009/09/16/mutable-and-volatile/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 17:54:03 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=223</guid>
		<description><![CDATA[I am a little busy nowadays, so excuse me for posting yet another somehow basic article. However, I still retain the hope that some of you are not familiar enough with at least one of these two keywords in C++.   Mutable The mutable keyword can be used on a class member to allow its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=223&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/16/mutable-and-volatile/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
		<item>
		<title>Trigraphs</title>
		<link>http://cplusplus.co.il/2009/09/08/trigraphs/</link>
		<comments>http://cplusplus.co.il/2009/09/08/trigraphs/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:45:49 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[mechanisms]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=149</guid>
		<description><![CDATA[How would you like the next piece of code? This is actually a legit sourcecode. It generates a single output line of &#8220;hey&#8221;. This code uses a C++ feature called trigraphs, documented here. The trigraphs are present in the language for reasons that were (possibly) more common in the past; If you didn&#8217;t have all the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=149&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/08/trigraphs/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ceb7c3e96e1e6c9fbef377af219fc0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmn</media:title>
		</media:content>
	</item>
	</channel>
</rss>
