<?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/"
	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>Comments on: Computing the level of indirection for pointer types</title>
	<atom:link href="http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/feed/" rel="self" type="application/rss+xml" />
	<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/</link>
	<description>Discussing modern C++ and related topics.</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:36:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Templates for unique id generation for types : a beginning « Alp Mestanogullari's Blog</title>
		<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-82</link>
		<dc:creator><![CDATA[Templates for unique id generation for types : a beginning « Alp Mestanogullari's Blog]]></dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-82</guid>
		<description><![CDATA[After reading one of the comments on this blog post, I decided to publish here a proof of concept for the generation of unique ids for types. [...]]]></description>
		<content:encoded><![CDATA[<p>After reading one of the comments on this blog post, I decided to publish here a proof of concept for the generation of unique ids for types. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NN</title>
		<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-79</link>
		<dc:creator><![CDATA[NN]]></dc:creator>
		<pubDate>Fri, 30 Oct 2009 16:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-79</guid>
		<description><![CDATA[Here you have an example where this is useful:

pointer_cast and safe_reinterpret_cast.

char* p = pointer_cast(new int()); // OK
long p = pointer_cast(new int()); // Error
int** p = pointer_cast(new int()); // Error

char p = safe_reinterpret_cast(new int()); // Checks size
long p = safe_reinterpret_cast(new int()); // Checks size

http://rsdn.ru/forum/src/1871852.1.aspx

Enjoy :)]]></description>
		<content:encoded><![CDATA[<p>Here you have an example where this is useful:</p>
<p>pointer_cast and safe_reinterpret_cast.</p>
<p>char* p = pointer_cast(new int()); // OK<br />
long p = pointer_cast(new int()); // Error<br />
int** p = pointer_cast(new int()); // Error</p>
<p>char p = safe_reinterpret_cast(new int()); // Checks size<br />
long p = safe_reinterpret_cast(new int()); // Checks size</p>
<p><a href="http://rsdn.ru/forum/src/1871852.1.aspx" rel="nofollow">http://rsdn.ru/forum/src/1871852.1.aspx</a></p>
<p>Enjoy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nadav</title>
		<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-78</link>
		<dc:creator><![CDATA[nadav]]></dc:creator>
		<pubDate>Fri, 30 Oct 2009 14:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-78</guid>
		<description><![CDATA[Hi Roman, 

Great post! 

I can think of a use for this code. With some basic type specialization we can assign a unique ID for each type in our program. 

Nadav]]></description>
		<content:encoded><![CDATA[<p>Hi Roman, </p>
<p>Great post! </p>
<p>I can think of a use for this code. With some basic type specialization we can assign a unique ID for each type in our program. </p>
<p>Nadav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmn</title>
		<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-73</link>
		<dc:creator><![CDATA[rmn]]></dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-73</guid>
		<description><![CDATA[Well, I could come up with some bizzare scenario, but the point I want to make is a little different..
This code is presented as an original example (perhaps too original?) for this kind of technique/approach. The very same technique can be applied in many real-life situations, and this simple example only strives to demonstrate the basic concept - in order to get people familiar with this kind of thinking.]]></description>
		<content:encoded><![CDATA[<p>Well, I could come up with some bizzare scenario, but the point I want to make is a little different..<br />
This code is presented as an original example (perhaps too original?) for this kind of technique/approach. The very same technique can be applied in many real-life situations, and this simple example only strives to demonstrate the basic concept &#8211; in order to get people familiar with this kind of thinking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alon</title>
		<link>http://cplusplus.co.il/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-71</link>
		<dc:creator><![CDATA[alon]]></dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-71</guid>
		<description><![CDATA[Can you think of case where I would need to do such a thing?]]></description>
		<content:encoded><![CDATA[<p>Can you think of case where I would need to do such a thing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

