Boost C++ Libraries: Ticket #12622: static_vector and operator= in C++03 https://svn.boost.org/trac10/ticket/12622 <p> Hello, </p> <p> it appears that ticket 9932 may not have been completely fixed: </p> <p> #include &lt;boost/container/static_vector.hpp&gt; </p> <p> class NT { </p> <blockquote> <p> boost::container::static_vector&lt;int, 4&gt; m; </p> </blockquote> <p> }; </p> <p> void f(NT&amp;a, NT const&amp;b){ </p> <blockquote> <p> a=b; </p> </blockquote> <p> } </p> <p> This fails to compile in C++03 mode with both clang++ and g++. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12622 Trac 1.4.3 Ion Gaztañaga Fri, 25 Nov 2016 21:57:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12622#comment:1 https://svn.boost.org/trac10/ticket/12622#comment:1 <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">wontfix</span> </li> </ul> <p> This is a known limitation of the Move emulation: </p> <p> <a href="http://www.boost.org/doc/libs/1_62_0/doc/html/container/known_issues.html#container.known_issues.move_emulation_limitations">http://www.boost.org/doc/libs/1_62_0/doc/html/container/known_issues.html#container.known_issues.move_emulation_limitations</a> </p> Ticket