|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54505 - sandbox/SOC/2009/function_graph/boost/function_graph
From: asutton_at_[hidden]
Date: 2009-06-29 15:43:23
Author: asutton
Date: 2009-06-29 15:43:22 EDT (Mon, 29 Jun 2009)
New Revision: 54505
URL: http://svn.boost.org/trac/boost/changeset/54505
Log:
Formatting changes.
Text files modified:
sandbox/SOC/2009/function_graph/boost/function_graph/function_graph.hpp | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
Modified: sandbox/SOC/2009/function_graph/boost/function_graph/function_graph.hpp
==============================================================================
--- sandbox/SOC/2009/function_graph/boost/function_graph/function_graph.hpp (original)
+++ sandbox/SOC/2009/function_graph/boost/function_graph/function_graph.hpp 2009-06-29 15:43:22 EDT (Mon, 29 Jun 2009)
@@ -265,14 +265,15 @@
/** in_edges(v, g) is part of the bidirectional graph concept. */
+#define FUNC_GRAPH \
+ function_graph<function<Result(Vertex, Vertex)>, Range
+
template <typename Result, typename Vertex, typename Range>
-std::pair<typename function_graph<function<Result(Vertex, Vertex)>,
- Range>::in_edge_iterator,
- typename function_graph<function<Result(Vertex, Vertex)>,
- Range>::in_edge_iterator>
-in_edges(typename function_graph<function<Result(Vertex, Vertex)>,
- Range>::vertex_descriptor const& v,
- function_graph<function<Result(Vertex, Vertex)>, Range> const& g)
+std::pair<
+ typename FUNC_GRAPH::in_edge_iterator,
+ typename FUNC_GRAPH::in_edge_iterator
+>
+in_edges(typename FUNC_GRAPH::vertex_descriptor const& v, FUNC_GRAPH const& g)
{
typedef function_graph<function<Result(Vertex, Vertex)>, Range> Graph;
typedef typename Graph::in_edge_iterator in_edge_iterator;
@@ -342,8 +343,6 @@
} // detail namespace
-#define FUNC_GRAPH function_graph<function<Result(Vertex, Vertex)>, Range>
-
template <typename Result, typename Vertex, typename Range>
std::pair<typename FUNC_GRAPH::edge_descriptor, bool>
edge(typename FUNC_GRAPH::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