<?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[Pointer als Referenz??]]></title><description><![CDATA[<pre><code class="language-cpp">//A zeigt auf ein Datenobjekt im speicher

Pointer *A= new Pointer(..);

//B ist eine Kopie von A und zeigt auch auf das Datenobjekt im speicher

Pointer *B= A;
</code></pre>
<p>kann ich nun *B als referenz von A zuweisen und keine kopie?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185571/pointer-als-referenz</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 04:41:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185571.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Jun 2007 05:07:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pointer als Referenz?? on Wed, 27 Jun 2007 05:07:54 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">//A zeigt auf ein Datenobjekt im speicher

Pointer *A= new Pointer(..);

//B ist eine Kopie von A und zeigt auch auf das Datenobjekt im speicher

Pointer *B= A;
</code></pre>
<p>kann ich nun *B als referenz von A zuweisen und keine kopie?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314449</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Wed, 27 Jun 2007 05:07:54 GMT</pubDate></item><item><title><![CDATA[Reply to Pointer als Referenz?? on Wed, 27 Jun 2007 05:48:34 GMT]]></title><description><![CDATA[<p>? Ne Referenz ist auch keine Kopie. Was willst du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314458</guid><dc:creator><![CDATA[john wayne]]></dc:creator><pubDate>Wed, 27 Jun 2007 05:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to Pointer als Referenz?? on Wed, 27 Jun 2007 06:01:03 GMT]]></title><description><![CDATA[<p>ja das will ich .. ich will KEINE kopie sondern ne Referenz, so das der Pointer B aquvialent zu A ist nur ein anderen Namen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314460</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Wed, 27 Jun 2007 06:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to Pointer als Referenz?? on Wed, 27 Jun 2007 06:05:23 GMT]]></title><description><![CDATA[<p>Klar kannst du - du kannst Referenzen auf (fast) alles anlegen:</p>
<pre><code class="language-cpp">Pointer*&amp; B=A;//B ist eine Referenz auf einen 'Pointer*'
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1314463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314463</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 27 Jun 2007 06:05:23 GMT</pubDate></item><item><title><![CDATA[Reply to Pointer als Referenz?? on Wed, 27 Jun 2007 06:15:11 GMT]]></title><description><![CDATA[<p>Schnicke sache;)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314471</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Wed, 27 Jun 2007 06:15:11 GMT</pubDate></item></channel></rss>