Boost C++ Libraries: Ticket #11867: small_vector should have constructor and assignment operator taking other small_vector https://svn.boost.org/trac10/ticket/11867 <p> small_vector&lt;T, N&gt; should be constructible and assignable from small_vector&lt;T, M&gt;. There's really no good reason not to have these functions. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11867 Trac 1.4.3 Ion Gaztañaga Thu, 24 Dec 2015 11:14:17 GMT <link>https://svn.boost.org/trac10/ticket/11867#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11867#comment:1</guid> <description> <p> Maybe not from small_vector&lt;T, M&gt; but from small_vector_base, which might be more flexible. </p> <p> LLVM's <a class="missing wiki">SmallVector</a>, which is the inspiration for small_vector, supports only move construction and assignment from <a class="missing wiki">SmallVectorImpl</a>, I can't figure out why copy construction is not supported: </p> <p> <a class="ext-link" href="http://llvm.org/docs/doxygen/html/classllvm_1_1SmallVector.html"><span class="icon">​</span>http://llvm.org/docs/doxygen/html/classllvm_1_1SmallVector.html</a> </p> <p> Thanks for the report. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Thu, 24 Dec 2015 12:48:57 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11867#comment:2 https://svn.boost.org/trac10/ticket/11867#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> <p> Added support for constructors and assignments from small_vector_base in commit: </p> <p> <a class="ext-link" href="https://github.com/boostorg/container/commit/641d1a5d5aca2a60708b886afd1799c81aab80b0"><span class="icon">​</span>https://github.com/boostorg/container/commit/641d1a5d5aca2a60708b886afd1799c81aab80b0</a> </p> Ticket