Boost C++ Libraries: Ticket #1431: edmunds_karp_max_flow fails to compile with bundled residual capacity https://svn.boost.org/trac10/ticket/1431 <p> If edmunds_karp_max_flow is called with a map created with <code>get(&amp;edge_bundle::residual_capacity, graph)</code> from the bundled residual capacity property then the source fails to compile. </p> <p> The problem is as follows:<br /> In filtered_graph.hpp the <code>is_residual_edge</code> predicate has a default constructor:<br /> <code>is_residual_edge() { </code>}<br /> <br /> But it also has a member:<br /> <code>ResidualCapacityEdgeMap m_rcap;</code><br /> <br /> Bundle property maps have the following constructor only:<br /> <code>bundle_property_map(Graph* g_, T Bundle::* pm_)</code><br /> <br /> So in the case of a <code>bundle_property_map</code> the <code>is_residual_edge</code> predicate declaration is invalid because it's default constructor implicitly calls the default constructor of <code>m_rcap</code> which doesn't exist. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1431 Trac 1.4.3 Marshall Clow Tue, 20 Nov 2007 23:26:01 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1431#comment:1 https://svn.boost.org/trac10/ticket/1431#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Douglas Gregor</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">graph</span> </li> </ul> Ticket Douglas Gregor Wed, 21 Nov 2007 05:55:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1431#comment:2 https://svn.boost.org/trac10/ticket/1431#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> This bug was fixed in Boost 1.34.0. Please see: </p> <blockquote> <p> <a class="ext-link" href="http://svn.boost.org/trac/boost/changeset/34811"><span class="icon">​</span>http://svn.boost.org/trac/boost/changeset/34811</a> </p> </blockquote> Ticket