Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / graph / distributed / selector.hpp
index 2e26c16..937bdf8 100644 (file)
@@ -13,6 +13,8 @@
 #error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included"
 #endif
 
+#include <boost/graph/detail/is_distributed_selector.hpp>
+
 namespace boost { 
 
   /* The default local selector for a distributedS selector. */
@@ -31,6 +33,12 @@ namespace boost {
     typedef LocalS local_selector;
     typedef DistributionS distribution;
   };
+
+  namespace detail {
+    template<typename ProcessGroup, typename LocalS, typename DistributionS>
+    struct is_distributed_selector<distributedS<ProcessGroup, LocalS, DistributionS> >: mpl::true_ {};
+  }
+
 }
 
 #endif // BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP