Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54740 - trunk/boost/graph/distributed
From: ngedmond_at_[hidden]
Date: 2009-07-06 21:18:47


Author: ngedmond
Date: 2009-07-06 21:18:47 EDT (Mon, 06 Jul 2009)
New Revision: 54740
URL: http://svn.boost.org/trac/boost/changeset/54740

Log:
Removed ownermap hack for tuples and pairs

Text files modified:
   trunk/boost/graph/distributed/betweenness_centrality.hpp | 24 ------------------------
   1 files changed, 0 insertions(+), 24 deletions(-)

Modified: trunk/boost/graph/distributed/betweenness_centrality.hpp
==============================================================================
--- trunk/boost/graph/distributed/betweenness_centrality.hpp (original)
+++ trunk/boost/graph/distributed/betweenness_centrality.hpp 2009-07-06 21:18:47 EDT (Mon, 06 Jul 2009)
@@ -79,30 +79,6 @@
 
   } // serialization
 
- namespace graph { namespace distributed {
-
- // HACKY: Overload get on a tuple to return the value at the key indicated
- // by the first element of the tuple so that we can use tuples in a distributed queue
- template<typename PropertyMap, typename Vertex, typename X, typename Y, typename Z>
- inline
- typename PropertyMap::value_type
- get(PropertyMap& pm, boost::tuple<Vertex, X, Y, Z> const& t)
- {
- return get(pm, boost::tuples::get<0>(t));
- }
-
- // HACKY: Same as above for std::pair
- template<typename PropertyMap, typename Vertex, typename X>
- inline
- typename PropertyMap::value_type
- get(PropertyMap& pm, std::pair<Vertex, X> const& t)
- {
- return get(pm, t.first);
- }
-
- } } // graph::distributed
-
-
   template <typename OwnerMap, typename Tuple>
   class get_owner_of_first_tuple_element {
 


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