<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Zeigerleere]]></title><description><![CDATA[<p>Hallo</p>
<p>Welche Version von <code>Empty</code> ist eurer Meinung nach eleganter?</p>
<pre><code class="language-cpp">bool Empty1(const void*&amp; Pointer)
{
  return !Pointer;
}
bool Empty2(const void*&amp; Pointer)
{
  return ~Pointer;
}
</code></pre>
<p>MfG, EOutOfResources</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/284202/zeigerleere</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 05:34:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/284202.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Mar 2011 19:37:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zeigerleere on Sun, 27 Mar 2011 19:37:10 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Welche Version von <code>Empty</code> ist eurer Meinung nach eleganter?</p>
<pre><code class="language-cpp">bool Empty1(const void*&amp; Pointer)
{
  return !Pointer;
}
bool Empty2(const void*&amp; Pointer)
{
  return ~Pointer;
}
</code></pre>
<p>MfG, EOutOfResources</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041004</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 27 Mar 2011 19:37:10 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Sun, 27 Mar 2011 19:48:43 GMT]]></title><description><![CDATA[<p>Erstere.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041008</guid><dc:creator><![CDATA[SG1]]></dc:creator><pubDate>Sun, 27 Mar 2011 19:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Sun, 27 Mar 2011 19:50:14 GMT]]></title><description><![CDATA[<p>! geht, aber ~ geht nicht. da halte ich mal ! für eleganter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041011</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sun, 27 Mar 2011 19:50:14 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Sun, 27 Mar 2011 20:15:35 GMT]]></title><description><![CDATA[<p>Was bringt eigentlich die Referenz?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041023</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041023</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Sun, 27 Mar 2011 20:15:35 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Sun, 27 Mar 2011 20:23:54 GMT]]></title><description><![CDATA[<p>Und wieso nicht ein Vergleich mit <code>nullptr</code> , 0 oder <code>NULL</code> ?</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041026</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Sun, 27 Mar 2011 20:23:54 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Mon, 28 Mar 2011 11:02:23 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Was bringt eigentlich die Referenz?</p>
</blockquote>
<p>In diesem Fall nichts.</p>
<p>Dravere schrieb:</p>
<blockquote>
<p>Und wieso nicht ein Vergleich mit <code>nullptr</code> , 0 oder <code>NULL</code> ?</p>
</blockquote>
<p>Weil der Code länger ist und keinen Vorteil bringt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041227</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041227</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Mon, 28 Mar 2011 11:02:23 GMT</pubDate></item><item><title><![CDATA[Reply to Zeigerleere on Mon, 28 Mar 2011 11:10:01 GMT]]></title><description><![CDATA[<p>Dravere schrieb:</p>
<blockquote>
<p>Und wieso nicht ein Vergleich mit <code>nullptr</code> , 0 oder <code>NULL</code> ?</p>
<p>Grüssli</p>
</blockquote>
<p>Dazu was hübsches von volkard: <a href="http://www.c-plusplus.net/forum/p1921056#1921056" rel="nofollow">http://www.c-plusplus.net/forum/p1921056#1921056</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041229</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041229</guid><dc:creator><![CDATA[ipsec]]></dc:creator><pubDate>Mon, 28 Mar 2011 11:10:01 GMT</pubDate></item></channel></rss>