<?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; techniques</title>
	<atom:link href="http://cplusplus.co.il/category/cpp/techniques/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; techniques</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>Imitation of Java Generics</title>
		<link>http://cplusplus.co.il/2010/12/31/imitation-of-java-generics/</link>
		<comments>http://cplusplus.co.il/2010/12/31/imitation-of-java-generics/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 21:09:48 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=1094</guid>
		<description><![CDATA[Generic programming is very common and has different names (and features) in various programming languages; C++ provides Turing-Complete Templates, Java offers Generics (along with Ada, Eiffel, C#, and Visual Basic .Net), and Parametric Polymorphism is present in ML, Scala, and Haskell. While I am generally pretty happy with what C++ has to offer, adopting some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=1094&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/12/31/imitation-of-java-generics/feed/</wfw:commentRss>
		<slash:comments>6</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>Overloading macros</title>
		<link>http://cplusplus.co.il/2010/08/31/overloading-macros/</link>
		<comments>http://cplusplus.co.il/2010/08/31/overloading-macros/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 19:44:22 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=1028</guid>
		<description><![CDATA[The feature of function overloading can prove to be pretty useful: it allows us to define a few versions of the same function, which differ in argument types, or even in Arity (ignoring variadic functions for the moment). Unfortunately, the C\C++ pre-processor does not allow overloading macros in the same way; It treats such attempts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=1028&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/08/31/overloading-macros/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>Variadic macro to count number of arguments</title>
		<link>http://cplusplus.co.il/2010/07/17/variadic-macro-to-count-number-of-arguments/</link>
		<comments>http://cplusplus.co.il/2010/07/17/variadic-macro-to-count-number-of-arguments/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 09:20:34 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=1003</guid>
		<description><![CDATA[The C-Preprocessor is a very powerful mechanism, which offers many different features. One of these features is called Variadic macros: macros that accept a varying number of arguments. It is interesting to note at this point, that such Variadic macros, despite being part of the C99 Standard, are not part of the C++ Standard at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=1003&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/07/17/variadic-macro-to-count-number-of-arguments/feed/</wfw:commentRss>
		<slash:comments>14</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>Memoization</title>
		<link>http://cplusplus.co.il/2010/01/07/memoization/</link>
		<comments>http://cplusplus.co.il/2010/01/07/memoization/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 09:16:08 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=752</guid>
		<description><![CDATA[Memoization is essentially a fancy name for caching results for future use. A generalization of dynamic programming, if you will. While I am certain most of us use it one way or another, in many occasions, it is usually through an Ad hoc implementation.. One that is only suitable for the specific, current, use case. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=752&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/01/07/memoization/feed/</wfw:commentRss>
		<slash:comments>10</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>Tag dispatching</title>
		<link>http://cplusplus.co.il/2010/01/03/tag-dispatching/</link>
		<comments>http://cplusplus.co.il/2010/01/03/tag-dispatching/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 20:54:03 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cplusplus.co.il/?p=703</guid>
		<description><![CDATA[Tag dispatching is a technique for compile time dispatching between a few overloaded functions by using the properties of a type. This technique usually involves some kind of type traits. Suppose you needed to carry out some task, in the form of a work() function. What is interesting is that it is possible to write [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=703&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2010/01/03/tag-dispatching/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>Implementing assignment operator using copy constructor</title>
		<link>http://cplusplus.co.il/2009/09/04/implementing-assignment-operator-using-copy-constructor/</link>
		<comments>http://cplusplus.co.il/2009/09/04/implementing-assignment-operator-using-copy-constructor/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 11:43:15 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=95</guid>
		<description><![CDATA[Many times we are required to define both a copy constructor and an assignment operator (for example: according to the rule of three, if we need one we are likely to need the other). The two will probably share a pretty common code, if not exactly the same. So what we will do in many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=95&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/09/04/implementing-assignment-operator-using-copy-constructor/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>
		<item>
		<title>Computations at compile time</title>
		<link>http://cplusplus.co.il/2009/08/13/computations-at-compile-time/</link>
		<comments>http://cplusplus.co.il/2009/08/13/computations-at-compile-time/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 16:34:50 +0000</pubDate>
		<dc:creator>rmn</dc:creator>
				<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=13</guid>
		<description><![CDATA[The C++ template mechanism is a very powerful tool. Besides its great ability of code generation, it can also be used to make useful computations at compile time. Let us introduce such an example. Consider the following show case: This approach allows us to calculate the factorial of any number in compile time, having it constant at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cplusplus.co.il&amp;blog=8968104&amp;post=13&amp;subd=cpptalk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://cplusplus.co.il/2009/08/13/computations-at-compile-time/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>
	</channel>
</rss>
