Boost C++ Libraries: Ticket #3521: edge iterator constructor + add_edge (with weight) does not work with adjacency_matrix https://svn.boost.org/trac10/ticket/3521 <p> Hi all, </p> <p> I am not sure if this is a "bug" or a "feature request"; it depends whether or not this was intended for adjacency_matrix. With adjacency_matrix, using the edge iterator constructor or add_edge (four arguments; with edge weights) gives compiling errors. </p> <p> I've attached a small example that demonstrates the problem. It compiles now using adjacency_list; but if the <em> comment is moved then the compiler errors using adjacency_matrix will show up. </em></p> <p> In a message posted by Andrew Sutton, he said the constructor may not exist -- I am not sure if this is intended or a bug: </p> <p> <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.user/52205/"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.user/52205/</a> </p> <p> Thank you! </p> <p> Ray </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3521 Trac 1.4.3 Raymond Wan <r.wan@…> Tue, 13 Oct 2009 01:54:32 GMT attachment set https://svn.boost.org/trac10/ticket/3521 https://svn.boost.org/trac10/ticket/3521 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">sample.cpp</span> </li> </ul> <p> Sample source code which demonstrates the problem. </p> Ticket Steven Watanabe Wed, 14 Oct 2009 04:44:04 GMT component changed; owner set https://svn.boost.org/trac10/ticket/3521#comment:1 https://svn.boost.org/trac10/ticket/3521#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Andrew Sutton</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">graph</span> </li> </ul> Ticket Jeremiah Willcock Tue, 24 Nov 2009 22:11:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3521#comment:2 https://svn.boost.org/trac10/ticket/3521#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57913" title="Loosened up what can be passed as an edge property to add_edge(); ...">[57913]</a>) Loosened up what can be passed as an edge property to add_edge(); fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3521" title="#3521: Feature Requests: edge iterator constructor + add_edge (with weight) does not work with ... (closed: fixed)">#3521</a> </p> Ticket