<?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[std::auto_ptr&amp;lt;&amp;gt; in std:: containern]]></title><description><![CDATA[<p>Hallo</p>
<p>Da sich const std::auto_ptr&lt;&gt;&amp; logischerweise nicht kopieren lässt (das «kopieren» ändert ja den Zustand des Ursprünglichen auto_ptr&lt;&gt;s) kann ich keine auto_ptr&lt;&gt;s mit std::containern verwenden.</p>
<p>Gibt's da einen Workaround?</p>
<p>Wie bekomme ich einen Stack mit smart_ptr&lt;&gt;s der auto_ptr&lt;&gt; logik?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/208821/std-auto_ptr-lt-gt-in-std-containern</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 03:01:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/208821.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Mar 2008 10:28:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to std::auto_ptr&amp;lt;&amp;gt; in std:: containern on Sun, 23 Mar 2008 10:28:56 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Da sich const std::auto_ptr&lt;&gt;&amp; logischerweise nicht kopieren lässt (das «kopieren» ändert ja den Zustand des Ursprünglichen auto_ptr&lt;&gt;s) kann ich keine auto_ptr&lt;&gt;s mit std::containern verwenden.</p>
<p>Gibt's da einen Workaround?</p>
<p>Wie bekomme ich einen Stack mit smart_ptr&lt;&gt;s der auto_ptr&lt;&gt; logik?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1479042</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1479042</guid><dc:creator><![CDATA[darthdespotism]]></dc:creator><pubDate>Sun, 23 Mar 2008 10:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to std::auto_ptr&amp;lt;&amp;gt; in std:: containern on Sun, 23 Mar 2008 10:47:39 GMT]]></title><description><![CDATA[<p>auto_ptr ist in Containern nicht möglich. Benutze doch einfach shared_ptr.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1479049</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1479049</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Sun, 23 Mar 2008 10:47:39 GMT</pubDate></item><item><title><![CDATA[Reply to std::auto_ptr&amp;lt;&amp;gt; in std:: containern on Sun, 23 Mar 2008 11:03:29 GMT]]></title><description><![CDATA[<p>Boosts Pointer Container sind oft eine gute Wahl, wenn man eigentlich auto_ptr in Container stopfen wollte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1479053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1479053</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Sun, 23 Mar 2008 11:03:29 GMT</pubDate></item><item><title><![CDATA[Reply to std::auto_ptr&amp;lt;&amp;gt; in std:: containern on Sun, 23 Mar 2008 15:51:38 GMT]]></title><description><![CDATA[<p>shared_ptr&lt;&gt; geht in dem Fall nicht, da diese kein release() bieten.</p>
<p>Allerdings könnte es sein, dass ich hier gar keine smart_ptr an der Stelle brauche. Muss ich nochmal überdenken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1479181</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1479181</guid><dc:creator><![CDATA[darthdespotism]]></dc:creator><pubDate>Sun, 23 Mar 2008 15:51:38 GMT</pubDate></item></channel></rss>