<?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[boost::assign::list_of und std::shared_ptr]]></title><description><![CDATA[<p>Hey,</p>
<p>ich bekomme boost::assign::list_of und std::shared_ptr nicht zusammen. Weiß jemand, was ich falsch mache?</p>
<pre><code class="language-cpp">std::vector&lt;std::shared_ptr&lt;int&gt;&gt; y = boost::assign::list_of( std::make_shared&lt;int&gt;(1), std::make_shared&lt;int&gt;(2) );
</code></pre>
<p>Mein Compiler meint, er könne das Template-Argument nicht herleiten. Mit manueller Angabe oder dem Verstehen vom boost-Code bin ich nicht direkt allzu weit gekommen..</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/292929/boost-assign-list_of-und-std-shared_ptr</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 15:41:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/292929.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2011 01:17:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to boost::assign::list_of und std::shared_ptr on Wed, 21 Sep 2011 01:17:07 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>ich bekomme boost::assign::list_of und std::shared_ptr nicht zusammen. Weiß jemand, was ich falsch mache?</p>
<pre><code class="language-cpp">std::vector&lt;std::shared_ptr&lt;int&gt;&gt; y = boost::assign::list_of( std::make_shared&lt;int&gt;(1), std::make_shared&lt;int&gt;(2) );
</code></pre>
<p>Mein Compiler meint, er könne das Template-Argument nicht herleiten. Mit manueller Angabe oder dem Verstehen vom boost-Code bin ich nicht direkt allzu weit gekommen..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121848</guid><dc:creator><![CDATA[fdfdg]]></dc:creator><pubDate>Wed, 21 Sep 2011 01:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to boost::assign::list_of und std::shared_ptr on Wed, 21 Sep 2011 01:18:42 GMT]]></title><description><![CDATA[<p>Ach herrje. Ich bin bettreif. Es heißt natürlich</p>
<pre><code class="language-cpp">std::vector&lt;std::shared_ptr&lt;int&gt;&gt; y = boost::assign::list_of( std::make_shared&lt;int&gt;(1)) (std::make_shared&lt;int&gt;(2) );
</code></pre>
<p>, also ')(' statt ','.</p>
<p>Hat sich also erledigt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121849</guid><dc:creator><![CDATA[fdfdg]]></dc:creator><pubDate>Wed, 21 Sep 2011 01:18:42 GMT</pubDate></item></channel></rss>