Boost C++ Libraries: Ticket #12014: boost::container::set can not insert const (ref) range https://svn.boost.org/trac10/ticket/12014 <p> Let's say we have some simple code here. </p> <blockquote> <p> boost::container::set&lt;int&gt; s; boost::container::set&lt;int&gt; const sp; s.insert(boost::begin(sp), boost::end(sp)); </p> </blockquote> <p> This insert call will cause "ambiguous call to overloaded function". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12014 Trac 1.4.3 Ion Gaztañaga Wed, 24 Feb 2016 09:20:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12014#comment:1 https://svn.boost.org/trac10/ticket/12014#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">fixed</span> </li> </ul> <p> Thanks for the report. Fixed in: </p> <p> <a class="ext-link" href="https://github.com/boostorg/container/commit/a7158c7975879566b9bc1048d242aed0b2971ab2"><span class="icon">​</span>https://github.com/boostorg/container/commit/a7158c7975879566b9bc1048d242aed0b2971ab2</a> </p> <p> but it also needs the following commit in Boost.Move: </p> <p> <a class="ext-link" href="https://github.com/boostorg/move/commit/d247eea058da683f66926963b5544e628e5a1bb1"><span class="icon">​</span>https://github.com/boostorg/move/commit/d247eea058da683f66926963b5544e628e5a1bb1</a> </p> Ticket