Boost C++ Libraries: Ticket #9620: detail::storage forcing a needless copy, doesn't support move-only types https://svn.boost.org/trac10/ticket/9620 <pre class="wiki">struct storage { storage() {} template&lt;class T&gt; storage(const T&amp; arg) : data(new T(arg)) {} void* data; }; </pre><p> A type with a deleted copy ctor causes a compile failure in the above code. This constructor should use perfect forwarding when rvalue references are available. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9620 Trac 1.4.3 Eric Niebler Thu, 30 Jan 2014 19:39:40 GMT <link>https://svn.boost.org/trac10/ticket/9620#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9620#comment:1</guid> <description> <p> I see this change is already made on the develop branch. Consider this bug report a polite request to merge it to master. :-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 11 Mar 2014 20:24:50 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9620#comment:2 https://svn.boost.org/trac10/ticket/9620#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket