Boost C++ Libraries: Ticket #13464: Boost failed to compile test in graph lib due to the error C2499. https://svn.boost.org/trac10/ticket/13464 <p> We tried to build and run graph test for Boost. It failed to build due to the error C2499: 'boost::array_binary_tree_node&lt;<a class="missing wiki">RandomAccessIterator</a>,ID&gt;::children_type::iterator': a class cannot be its own base class. Could you please help take a look at this? Thanks! </p> <p> <strong>Reproduce steps:</strong> </p> <ol><li>git clone -c core.autocrlf=true --recursive <a class="ext-link" href="https://github.com/boostorg/boost.git"><span class="icon">​</span>https://github.com/boostorg/boost.git</a> D:\Boost\src </li><li>Open a VS 2015 x86 command prompt and browse to D:\Boost\src </li><li>.\bootstrap </li><li>.\b2 headers variant=release --build-dir=..\out\Release --address-model=32 </li><li>.\b2 variant=release --build-dir=..\out\Release --address-model=32 </li><li>.\b2 -j4 variant=release --build-dir=..\out\x86rel libs\graph\test </li></ol><p> <strong>Expected result:</strong> </p> <p> All tests passed </p> <p> <strong>Actual result:</strong> </p> <p> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.12.25827\include\xlocale(315): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc .\boost/graph/detail/array_binary_tree.hpp(46): <strong>error C2499: 'boost::array_binary_tree_node&lt;<a class="missing wiki">RandomAccessIterator</a>,ID&gt;::children_type::iterator': a class cannot be its own base class</strong> .\boost/graph/detail/array_binary_tree.hpp(72): note: see reference to class template instantiation 'boost::array_binary_tree_node&lt;<a class="missing wiki">RandomAccessIterator</a>,ID&gt;::children_type::iterator' being compiled .\boost/graph/detail/array_binary_tree.hpp(94): note: see reference to class template instantiation 'boost::array_binary_tree_node&lt;<a class="missing wiki">RandomAccessIterator</a>,ID&gt;::children_type' being compiled .\boost/graph/detail/array_binary_tree.hpp(162): note: see reference to class template instantiation 'boost::array_binary_tree_node&lt;<a class="missing wiki">RandomAccessIterator</a>,ID&gt;' being compiled .\boost/graph/detail/array_binary_tree.hpp(46): error C2143: syntax error: missing ',' before '&lt;' </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13464 Trac 1.4.3 1518134125@… Tue, 06 Mar 2018 03:01:47 GMT <link>https://svn.boost.org/trac10/ticket/13464#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13464#comment:1</guid> <description> <p> Hi, any update for this? </p> </description> <category>Ticket</category> </item> </channel> </rss>