<?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: Computing the level of indirection for pointer types</title>
	<atom:link href="http://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/feed/" rel="self" type="application/rss+xml" />
	<link>http://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/</link>
	<description>Technical &#38; low level</description>
	<lastBuildDate>Mon, 30 Apr 2012 17:39:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Templates for unique id generation for types : a beginning « Alp Mestanogullari's Blog</title>
		<link>http://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-95</link>
		<dc:creator>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-95</guid>
		<description>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://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-94</link>
		<dc:creator>NN</dc:creator>
		<pubDate>Fri, 30 Oct 2009 16:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-94</guid>
		<description>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://efesx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nadav</title>
		<link>http://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-93</link>
		<dc:creator>nadav</dc:creator>
		<pubDate>Fri, 30 Oct 2009 14:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-93</guid>
		<description>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://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-92</link>
		<dc:creator>rmn</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-92</guid>
		<description>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://efesx.com/2009/10/25/computing-the-level-of-indirection-for-pointer-types/#comment-91</link>
		<dc:creator>alon</dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=406#comment-91</guid>
		<description>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>

