Boost C++ Libraries: Ticket #11757: ptr_list no longer compiles in msvc2013 https://svn.boost.org/trac10/ticket/11757 <p> This code does no longer compile with 1.59.0 but did with 1.55.0 (using MSVC 2013) </p> <pre class="wiki">#include "boost/ptr_container/ptr_list.hpp" class MyClass { public: MyClass() {} }; int main(int argc, char* argv[]) { typedef boost::ptr_list&lt; MyClass &gt; tMyList; tMyList theList; theList.resize(42, NULL); } </pre><p> this is the output: </p> <pre class="wiki">cl boost_ptr_list.cpp Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86 Copyright (C) Microsoft Corporation. All rights reserved. boost_ptr_list.cpp boost/ptr_container/detail/void_ptr_iterator.hpp(104) : error C2676: binary '+=' : 'std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;' does not define this operator or a conversion to a type acceptable to the pre defined operator C:\Projects\AE16.0\boost\boost/ptr_container/detail/void_ptr_iterator.hpp(103) : while compiling class template member function 'boost::void_ptr_iterator&lt;std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;,MyClass&gt; &amp;boost::void_ptr_iterator&lt;std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;,MyClass&gt;::operator +=(__w64 int)' C:\Projects\AE16.0\boost\boost/next_prior.hpp(73) : see reference to function template instantiation 'boost::void_ptr_iterator&lt;std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;,MyClass&gt; &amp;boost::void_ptr_iterator&lt;std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;,MyClass&gt;::operator +=(__w64 int)' being compiled C:\Projects\AE16.0\boost\boost/ptr_container/ptr_sequence_adapter.hpp(535) : see reference to class template instantiation 'boost::void_ptr_iterator&lt;std::_List_iterator&lt;std::_List_val&lt;std::_List_simple_types&lt;void *&gt;&gt;&gt;,MyClass&gt;' being compiled C:\Projects\AE16.0\boost\boost/ptr_container/ptr_sequence_adapter.hpp(531) : while compiling class template member function 'void boost::ptr_sequence_adapter&lt;T,std::list&lt;void *,Allocator&gt;,CloneAllocator&gt;::resize(unsigned int,MyClass *)' with [ T=MyClass , Allocator=std::allocator&lt;void *&gt; , CloneAllocator=boost::heap_clone_allocator ] boost_ptr_list.cpp(12) : see reference to function template instantiation 'void boost::ptr_sequence_adapter&lt;T,std::list&lt;void *,Allocator&gt;,CloneAllocator&gt;::resize(unsigned int,MyClass *)' being compiled with [ T=MyClass , Allocator=std::allocator&lt;void *&gt; , CloneAllocator=boost::heap_clone_allocator ] C:\Projects\AE16.0\boost\boost/ptr_container/ptr_list.hpp(35) : see reference to class template instantiation 'boost::ptr_sequence_adapter&lt;T,std::list&lt;void *,Allocator&gt;,CloneAllocator&gt;' being compiled with [ T=MyClass , Allocator=std::allocator&lt;void *&gt; , CloneAllocator=boost::heap_clone_allocator ] boost_ptr_list.cpp(11) : see reference to class template instantiation 'boost::ptr_list&lt;MyClass,boost::heap_clone_allocator,std::allocator&lt;void *&gt;&gt;' being compiled </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11757 Trac 1.4.3