Boost C++ Libraries: Ticket #12873: boost.heap calls non-existing constructor of iterator_adaptor https://svn.boost.org/trac10/ticket/12873 <p> boost.heap tries to call the constructor <code>boost::iterator_adaptor(0)</code>, which doesn't exist, in several places. For example in <code>boost/heap/detail/mutable_heap.hpp</code> (lines 225-243): </p> <pre class="wiki"> typedef boost::iterator_adaptor&lt;ordered_iterator, const_list_iterator, value_type const, boost::forward_traversal_tag &gt; adaptor_type; typedef const_list_iterator iterator; typedef typename q_type::ordered_iterator_dispatcher ordered_iterator_dispatcher; friend class boost::iterator_core_access; public: ordered_iterator(void): adaptor_type(0), unvisited_nodes(indirect_cmp()), q_(NULL) {} ordered_iterator(const priority_queue_mutable_wrapper * q, indirect_cmp const &amp; cmp): adaptor_type(0), unvisited_nodes(cmp), q_(q) {} </pre><p> This will result in "no matching constructor" compilation errors when trying to construct e.g. an <code>ordered_iterator</code> for a <code>d_ary_heap</code> (see attached program). </p> <p> The same non-existing call is made on <code>detail/mutable_heap.hpp:193</code>, <code>detail/stable_heap.hpp:534</code>, and <code>detail/tree_iterator.hpp:214,218,231,340</code> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12873 Trac 1.4.3 Bart van Merrienboer <bart.vanmerrienboer@…> Sun, 26 Feb 2017 20:24:44 GMT attachment set https://svn.boost.org/trac10/ticket/12873 https://svn.boost.org/trac10/ticket/12873 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cpp</span> </li> </ul> <p> trigger <code>no matching constructor</code> compilation error in boost.heap </p> Ticket timblechmann Mon, 27 Feb 2017 09:13:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12873#comment:1 https://svn.boost.org/trac10/ticket/12873#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> Ticket anonymous Sun, 05 Mar 2017 14:16:57 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/12873#comment:2 https://svn.boost.org/trac10/ticket/12873#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> had to revert the fix, as it broke all other heaps </p> Ticket