Boost C++ Libraries: Ticket #7871: [ICL][c++11] split_interval_map: move-assignment removes implicit copy-assignment https://svn.boost.org/trac10/ticket/7871 <p> split_interval_map has no explicit copy-assignment operator, so using copy-assignment with c++11 causes compilation error: </p> <pre class="wiki">#include &lt;boost/icl/split_interval_map.hpp&gt; int main () { boost::icl::split_interval_map &lt;int, int&gt; A, B; A = B; return 0; } </pre><p> Compilation error: </p> <pre class="wiki">test.cpp: In function 'int main()': test.cpp:7:7: error: use of deleted function 'boost::icl::split_interval_map&lt;int, int&gt;&amp; boost::icl::split_interval_map&lt;int, int&gt;::operator=(const boost::icl::split_interval_map&lt;int, int&gt;&amp;)' In file included from test.cpp:2:0: /home/opium/dev_libs/boost_1_52_0/include/boost-1_52/boost/icl/split_interval_map.hpp:33:7: note: 'boost::icl::split_interval_map&lt;int, int&gt;&amp; boost::icl::split_interval_map&lt;int, int&gt;::operator=(const boost::icl::split_interval_map&lt;int, int&gt;&amp;)' is implicitly declared as deleted because 'boost::icl::split_interval_map&lt;int, int&gt;' declares a move constructor or move assignment operator </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7871 Trac 1.4.3 Joachim Faulhaber Tue, 19 Jun 2018 15:02:50 GMT status changed; cc, resolution set https://svn.boost.org/trac10/ticket/7871#comment:1 https://svn.boost.org/trac10/ticket/7871#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">Joachim Faulhaber</span> added </li> <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