<?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[probleme mit rbegin() und deque]]></title><description><![CDATA[<p>Kann mir bitte jemand bei dem Problem helfen auf dem Bild? wert.begin() funktioniert, nur rbegin() nicht. <a href="https://sites.google.com/site/csbackround/home/Bildschirmfoto-1.png?attredirects=0" rel="nofollow">https://sites.google.com/site/csbackround/home/Bildschirmfoto-1.png?attredirects=0</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/286005/probleme-mit-rbegin-und-deque</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 13:41:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/286005.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 May 2011 20:31:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Sun, 01 May 2011 20:31:32 GMT]]></title><description><![CDATA[<p>Kann mir bitte jemand bei dem Problem helfen auf dem Bild? wert.begin() funktioniert, nur rbegin() nicht. <a href="https://sites.google.com/site/csbackround/home/Bildschirmfoto-1.png?attredirects=0" rel="nofollow">https://sites.google.com/site/csbackround/home/Bildschirmfoto-1.png?attredirects=0</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2056919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2056919</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Sun, 01 May 2011 20:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Sun, 01 May 2011 20:37:15 GMT]]></title><description><![CDATA[<p>Ein iterator und ein reverse_iterator sind eben verschiedene Typen und es gibt nicht die Möglichkeit diese auf direkte Weise einander zuzuweisen oder sonstwie zu verkuppeln. Und das ist auch gut so, denn man sollte sich des Unterschieds bewusst sein, bevor man so etwas tut.<br />
Was willst du überhaupt erreichen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2056922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2056922</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sun, 01 May 2011 20:37:15 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Sun, 01 May 2011 20:50:47 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">ReverseIter.base();
</code></pre>
<p>Aber das suchst du sicher nicht. Wie SeppJ gesagt hat, ist ein <code>reverse_iterator</code> ein total anderer Typ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2056925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2056925</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 01 May 2011 20:50:47 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 18:54:05 GMT]]></title><description><![CDATA[<p>Ich möchte, dass wenn der Iterator über das Ende getreten ist, das ein neues Ellement angehängt wird, und der Iterator darauf gesetzt wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057381</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057381</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Mon, 02 May 2011 18:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 18:56:07 GMT]]></title><description><![CDATA[<p>Und wieso willst du dazu <code>rbegin()</code> verwenden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057384</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057384</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Mon, 02 May 2011 18:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:26:30 GMT]]></title><description><![CDATA[<p>Ich wusste das mit dem speziellen Iterator nicht, in meinem Buch stand: Liefert Iterator auf letztes Element der Deque, also wollte ich das verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057418</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057418</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Mon, 02 May 2011 19:26:30 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:28:59 GMT]]></title><description><![CDATA[<p>BigGreenFoot schrieb:</p>
<blockquote>
<p>Ich wusste das mit dem speziellen Iterator nicht, in meinem Buch stand: Liefert Iterator auf letztes Element der Deque, also wollte ich das verwenden.</p>
</blockquote>
<p>Buchname? Denn <code>rbegin()</code> liefert das letzte Element aber als <code>reverse_iterator</code> , welcher all deine &quot;Bewegungen&quot; spiegelt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057423</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Mon, 02 May 2011 19:28:59 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:31:19 GMT]]></title><description><![CDATA[<p>Das Gegenteil von rbegin müsste übrigens end sein, welches ein &quot;normaler&quot; iterator ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057425</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057425</guid><dc:creator><![CDATA[jkljkl]]></dc:creator><pubDate>Mon, 02 May 2011 19:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:45:22 GMT]]></title><description><![CDATA[<p>end zeigt aber nicht auf das letzte Containerelement.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057437</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057437</guid><dc:creator><![CDATA[Belli]]></dc:creator><pubDate>Mon, 02 May 2011 19:45:22 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:47:00 GMT]]></title><description><![CDATA[<p>Belli schrieb:</p>
<blockquote>
<p>end zeigt aber nicht auf das letzte Containerelement.</p>
</blockquote>
<p>Genau. Der Rückgabewert von <code>end()</code> zeigt hinter das letzte Element.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057440</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057440</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Mon, 02 May 2011 19:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:48:28 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">d.end() - 1;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2057441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057441</guid><dc:creator><![CDATA[jkljkl]]></dc:creator><pubDate>Mon, 02 May 2011 19:48:28 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 19:56:48 GMT]]></title><description><![CDATA[<p>ok</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057447</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057447</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Mon, 02 May 2011 19:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 20:10:24 GMT]]></title><description><![CDATA[<p>Ow die Deque legt automatisch neue Elemente an, sobald man dem Ende nahe kommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057456</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057456</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Mon, 02 May 2011 20:10:24 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Mon, 02 May 2011 20:14:41 GMT]]></title><description><![CDATA[<p>BigGreenFoot schrieb:</p>
<blockquote>
<p>Ow die Deque legt automatisch neue Elemente an, sobald man dem Ende nahe kommt.</p>
</blockquote>
<p>Darauf solltest du dich besser nicht verlassen. Selbst wenn sie noch zusätzlichen Speicher auf Vorrat hält, wird sie nichts davon mitbekommen, wenn du über das Ende hinausschreibst.<br />
Eine Möglichkeit, eine Referenz auf das neu eingefügte End-Element zu bekommen, wäre <code>pos=d.insert(d.end(),wert);</code></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057459</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057459</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 02 May 2011 20:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Tue, 03 May 2011 16:08:50 GMT]]></title><description><![CDATA[<p>Gut trifft das auch zu wenn man den zeiger nur durch inclementieren, und declementieren verändert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057935</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057935</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Tue, 03 May 2011 16:08:50 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Tue, 03 May 2011 16:23:33 GMT]]></title><description><![CDATA[<p>Natürlich. Du kannst nicht davon ausgehen, dass sich an der Grösse des Containers was änderst, wenn du irgendwas mit den Zeigern/Iteratoren auf dessen Elemente anstellst. Inkrementieren des <code>end()</code> -Iterators ist immer undefiniertes Verhalten.</p>
<p>Aber benutze doch einfach die dafür vorgesehenen Memberfunktionen, wenn du Elemente einfügen willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2057943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2057943</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Tue, 03 May 2011 16:23:33 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Wed, 04 May 2011 15:31:49 GMT]]></title><description><![CDATA[<p>Die declaration von insert ist void insert(iterator, obj%)<br />
?!?<br />
Cstoll: Wiso dan pos=d.insert(d.end(), wert);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2058487</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2058487</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Wed, 04 May 2011 15:31:49 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Wed, 04 May 2011 15:39:35 GMT]]></title><description><![CDATA[<p>BigGreenFoot schrieb:</p>
<blockquote>
<p>Die declaration von insert ist void insert(iterator, obj%)</p>
</blockquote>
<p>Nein, selbst wenn man % durch &amp; ersetzt nicht.</p>
<p>Schau mal hier: <a href="http://www.cplusplus.com/reference/stl/deque/insert" rel="nofollow">http://www.cplusplus.com/reference/stl/deque/insert</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2058499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2058499</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Wed, 04 May 2011 15:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Wed, 04 May 2011 15:52:23 GMT]]></title><description><![CDATA[<p>Interessant!!! Das was ihr schreibt stimmt, aber dennoch is irgendwo der Wurm drin.<br />
In meinem Buch Einstieg in C++ 4. Auflage von Arnold Willemer, Seite 398, Tabellenspalte 20 heißt es „void inesrt(iterator, obj&amp;)“.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2058512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2058512</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Wed, 04 May 2011 15:52:23 GMT</pubDate></item><item><title><![CDATA[Reply to probleme mit rbegin() und deque on Sat, 07 May 2011 10:12:29 GMT]]></title><description><![CDATA[<p>Da wäre aber noch was wie kann ich etwas vorne anhängen, und einen Zeiger darauf setzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2059951</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2059951</guid><dc:creator><![CDATA[BigGreenFoot]]></dc:creator><pubDate>Sat, 07 May 2011 10:12:29 GMT</pubDate></item></channel></rss>