Boost C++ Libraries: Ticket #9696: Boost.Container fails to compile in VS2013 https://svn.boost.org/trac10/ticket/9696 <p> The compilation of this code: </p> <pre class="wiki">#include &lt;boost/container/vector.hpp&gt; int main() { boost::container::vector&lt;int&gt; v; } </pre><p> ends with this output: </p> <pre class="wiki">1&gt;d:\lib\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp(200): error C2228: left of '.select_on_container_copy_construction' must have class/struct/union 1&gt; type is 'boost::move_detail::add_rvalue_reference&lt;U&gt;::type' 1&gt; d:\lib\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp(276) : see reference to class template instantiation 'boost::container::container_detail::has_member_function_callable_with_select_on_container_copy_construction_impl&lt;Fun,true,&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; Fun=std::allocator&lt;int&gt; 1&gt; ] 1&gt; d:\lib\boost_1_55_0\boost\container\allocator_traits.hpp(262) : see reference to class template instantiation 'boost::container::container_detail::has_member_function_callable_with_select_on_container_copy_construction&lt;const Alloc,&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; Alloc=std::allocator&lt;int&gt; 1&gt; ] 1&gt; d:\lib\boost_1_55_0\boost\container\vector.hpp(276) : see reference to class template instantiation 'boost::container::allocator_traits&lt;Allocator&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; Allocator=std::allocator&lt;int&gt; 1&gt; ] 1&gt; d:\lib\boost_1_55_0\boost\container\vector.hpp(550) : see reference to class template instantiation 'boost::container::container_detail::vector_alloc_holder&lt;Allocator,boost::container::container_detail::integral_constant&lt;unsigned int,1&gt;&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; Allocator=std::allocator&lt;int&gt; 1&gt; ] 1&gt; c:\users\adam\desktop\test13\test13\main.cpp(5) : see reference to class template instantiation 'boost::container::vector&lt;int,std::allocator&lt;T&gt;&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; T=int 1&gt; ] ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9696 Trac 1.4.3 Ion Gaztañaga Sat, 22 Feb 2014 11:29:12 GMT status, component changed; resolution set https://svn.boost.org/trac10/ticket/9696#comment:1 https://svn.boost.org/trac10/ticket/9696#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">duplicate</span> </li> <li><strong>component</strong> <span class="trac-field-old">container</span> → <span class="trac-field-new">intrusive</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9332" title="#9332: Bugs: has_member_function_callable_with.hpp compile error on msvc-12.0 - ... (closed: fixed)">#9332</a>, which is already fixed. Thanks for the report. </p> Ticket