Boost C++ Libraries: Ticket #6825: [Heap] compile error : fibonacci_heap::s_handle_from_iterator https://svn.boost.org/trac10/ticket/6825 <p> try code is follow (GCC 4.7.0, -std=c++11): </p> <pre class="wiki">#include &lt;iostream&gt; #include &lt;algorithm&gt; #include &lt;boost/heap/fibonacci_heap.hpp&gt; int main () { boost::heap::fibonacci_heap&lt;int&gt; que; que.push(3); que.push(1); que.push(4); que.update( decltype(que)::s_handle_from_iterator(que.begin()), 6); std::for_each(que.ordered_begin(), que.ordered_end(), [](int x) { std::cout &lt;&lt; x &lt;&lt; std::endl; }); } </pre><p> compile error: </p> <pre class="wiki">/boost/heap/fibonacci_heap.hpp:608:52: error: 's_handle_from_iterator' is not a member of 'boost::heap::fibonacci_heap&lt;int&gt;::super_t {aka boost::heap::detail::make_fibonacci_heap_base&lt;int, boost::parameter::aux::empty_arg_list&gt;::type}' </pre><p> s_handle_from_iterator() function is documented: <a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost/heap/fibonacci_heap.html#id346082-bb">http://www.boost.org/doc/libs/1_49_0/doc/html/boost/heap/fibonacci_heap.html#id346082-bb</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6825 Trac 1.4.3 Akira Takahashi <faithandbrave@…> Tue, 24 Apr 2012 06:08:58 GMT component changed; owner set https://svn.boost.org/trac10/ticket/6825#comment:1 https://svn.boost.org/trac10/ticket/6825#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">timblechmann</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">heap</span> </li> </ul> Ticket timblechmann Sat, 05 May 2012 12:23:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6825#comment:2 https://svn.boost.org/trac10/ticket/6825#comment:2 <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> fixed in trunk, thanks for reporting </p> Ticket