[Boost-bugs] [Boost C++ Libraries] #7766: missing add_edge overloads in named_graph

Subject: [Boost-bugs] [Boost C++ Libraries] #7766: missing add_edge overloads in named_graph
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-05 01:36:41


#7766: missing add_edge overloads in named_graph
-----------------------------------------------------+----------------------
 Reporter: Louis Dionne <louis.dionne92@…> | Owner: jewillco
     Type: Patches | Status: new
Milestone: Boost 1.53.0 | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: named_graph graph add_edge |
-----------------------------------------------------+----------------------
 Hello,

 The named_graph is missing 3 overloads for the add_edge function. The
 overloads
 are required if the adapted graph models the EdgeMutablePropertyGraph
 concept.

 An EdgeMutablePropertyGraph allows:
     add_edge(vertex_descriptor1, vertex_descriptor2, property, graph)

 A named_graph whose adapted graph models the concept should allow:
     add_edge(vertex_name1, vertex_name2, property, graph)

     add_edge(vertex_name, vertex_descriptor, property, graph)

     add_edge(vertex_descriptor, vertex_name, property, graph)

 A patch containing the 3 missing overloads is attached. The patch also
 adds
 some includes that I found to be missing to the named_graph.hpp header.

 Regards,

 Louis Dionne

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7766>
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:11 UTC