<?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[Klassepointer auf Klassenreferenz casten]]></title><description><![CDATA[<p>Ich möchte den Pointer Class* auf Class&amp; casten. Wie kann ich das sauber lösen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/272840/klassepointer-auf-klassenreferenz-casten</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 14:39:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/272840.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Aug 2010 07:20:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Klassepointer auf Klassenreferenz casten on Thu, 26 Aug 2010 07:20:11 GMT]]></title><description><![CDATA[<p>Ich möchte den Pointer Class* auf Class&amp; casten. Wie kann ich das sauber lösen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1944473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1944473</guid><dc:creator><![CDATA[MasterG87]]></dc:creator><pubDate>Thu, 26 Aug 2010 07:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to Klassepointer auf Klassenreferenz casten on Thu, 26 Aug 2010 07:56:55 GMT]]></title><description><![CDATA[<p>Da gibt es nichts zu casten.</p>
<pre><code class="language-cpp">Class *c;
Class &amp;r = *c;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1944489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1944489</guid><dc:creator><![CDATA[TyRoXx]]></dc:creator><pubDate>Thu, 26 Aug 2010 07:56:55 GMT</pubDate></item><item><title><![CDATA[Reply to Klassepointer auf Klassenreferenz casten on Thu, 26 Aug 2010 07:56:56 GMT]]></title><description><![CDATA[<p>Hmm... Du verwendest den Begriff &quot;casten&quot; komisch.</p>
<p>Meinst Du das hier?</p>
<pre><code class="language-cpp">...
Class* ptr = ...;
Class&amp; ref = *ptr;
...
</code></pre>
<p>kk</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1944490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1944490</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Thu, 26 Aug 2010 07:56:56 GMT</pubDate></item><item><title><![CDATA[Reply to Klassepointer auf Klassenreferenz casten on Thu, 26 Aug 2010 08:14:48 GMT]]></title><description><![CDATA[<p>Danke für eure Hilfe. Wenn ichs jetzt so sehe ist es mir natürlich klar. Ich dachte ich muss es mit static_cast umwandeln.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1944497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1944497</guid><dc:creator><![CDATA[MasterG87]]></dc:creator><pubDate>Thu, 26 Aug 2010 08:14:48 GMT</pubDate></item></channel></rss>