[Boost-bugs] [Boost C++ Libraries] #3521: edge iterator constructor + add_edge (with weight) does not work with adjacency_matrix

Subject: [Boost-bugs] [Boost C++ Libraries] #3521: edge iterator constructor + add_edge (with weight) does not work with adjacency_matrix
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-13 01:52:50


#3521: edge iterator constructor + add_edge (with weight) does not work with
adjacency_matrix
--------------------------------------------+-------------------------------
 Reporter: Raymond Wan <r.wan@…> | Owner:
     Type: Feature Requests | Status: new
Milestone: Boost 1.41.0 | Component: None
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 Hi all,

 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.

 I've attached a small example that demonstrates the problem. It compiles
 now using adjacency_list; but if the // comment is moved then the compiler
 errors using adjacency_matrix will show up.

 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:

 http://article.gmane.org/gmane.comp.lib.boost.user/52205/

 Thank you!

 Ray

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3521>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC