|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57903 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-11-24 15:31:41
Author: jewillco
Date: 2009-11-24 15:31:40 EST (Tue, 24 Nov 2009)
New Revision: 57903
URL: http://svn.boost.org/trac/boost/changeset/57903
Log:
Added vertex() function
Text files modified:
trunk/boost/graph/reverse_graph.hpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/graph/reverse_graph.hpp
==============================================================================
--- trunk/boost/graph/reverse_graph.hpp (original)
+++ trunk/boost/graph/reverse_graph.hpp 2009-11-24 15:31:40 EST (Tue, 24 Nov 2009)
@@ -184,6 +184,14 @@
}
template <class BidirectionalGraph, class GRef>
+inline typename graph_traits<BidirectionalGraph>::vertex_descriptor
+vertex(const typename graph_traits<BidirectionalGraph>::vertices_size_type v,
+ const reverse_graph<BidirectionalGraph,GRef>& g)
+{
+ return vertex(v, g.m_g);
+}
+
+template <class BidirectionalGraph, class GRef>
inline std::pair<typename graph_traits<BidirectionalGraph>::edge_descriptor,
bool>
edge(const typename graph_traits<BidirectionalGraph>::vertex_descriptor u,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk