Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60365 - in trunk/boost/graph: . distributed
From: jewillco_at_[hidden]
Date: 2010-03-08 14:43:10


Author: jewillco
Date: 2010-03-08 14:43:09 EST (Mon, 08 Mar 2010)
New Revision: 60365
URL: http://svn.boost.org/trac/boost/changeset/60365

Log:
Changed to use property_traits in preparation for SFINAE-enabled property_traits
Text files modified:
   trunk/boost/graph/distributed/one_bit_color_map.hpp | 8 ++++----
   trunk/boost/graph/distributed/two_bit_color_map.hpp | 8 ++++----
   trunk/boost/graph/one_bit_color_map.hpp | 4 ++--
   trunk/boost/graph/two_bit_color_map.hpp | 4 ++--
   4 files changed, 12 insertions(+), 12 deletions(-)

Modified: trunk/boost/graph/distributed/one_bit_color_map.hpp
==============================================================================
--- trunk/boost/graph/distributed/one_bit_color_map.hpp (original)
+++ trunk/boost/graph/distributed/one_bit_color_map.hpp 2010-03-08 14:43:09 EST (Mon, 08 Mar 2010)
@@ -50,7 +50,7 @@
 inline one_bit_color_type
 get(one_bit_color_map<local_property_map<ProcessGroup,GlobalMap,StorageMap> >
       const& pm,
- typename one_bit_color_map<GlobalMap>::key_type key)
+ typename property_traits<GlobalMap>::key_type key)
 {
   return get(pm.base(), key);
 }
@@ -59,7 +59,7 @@
 inline void
 put(one_bit_color_map<local_property_map<ProcessGroup,GlobalMap,StorageMap> >
       const& pm,
- typename one_bit_color_map<GlobalMap>::key_type key,
+ typename property_traits<GlobalMap>::key_type key,
     one_bit_color_type value)
 {
   put(pm.base(), key, value);
@@ -95,7 +95,7 @@
 get(one_bit_color_map<
       parallel::distributed_property_map<
         ProcessGroup, GlobalMap, one_bit_color_map<StorageMap> > > const& pm,
- typename one_bit_color_map<GlobalMap>::key_type key)
+ typename property_traits<GlobalMap>::key_type key)
 {
   return get(pm.base(), key);
 }
@@ -105,7 +105,7 @@
 put(one_bit_color_map<
       parallel::distributed_property_map<
         ProcessGroup, GlobalMap, one_bit_color_map<StorageMap> > > const& pm,
- typename one_bit_color_map<GlobalMap>::key_type key,
+ typename property_traits<GlobalMap>::key_type key,
     one_bit_color_type value)
 {
   put(pm.base(), key, value);

Modified: trunk/boost/graph/distributed/two_bit_color_map.hpp
==============================================================================
--- trunk/boost/graph/distributed/two_bit_color_map.hpp (original)
+++ trunk/boost/graph/distributed/two_bit_color_map.hpp 2010-03-08 14:43:09 EST (Mon, 08 Mar 2010)
@@ -50,7 +50,7 @@
 inline two_bit_color_type
 get(two_bit_color_map<local_property_map<ProcessGroup,GlobalMap,StorageMap> >
       const& pm,
- typename two_bit_color_map<GlobalMap>::key_type key)
+ typename property_traits<GlobalMap>::key_type key)
 {
   return get(pm.base(), key);
 }
@@ -59,7 +59,7 @@
 inline void
 put(two_bit_color_map<local_property_map<ProcessGroup,GlobalMap,StorageMap> >
       const& pm,
- typename two_bit_color_map<GlobalMap>::key_type key,
+ typename property_traits<GlobalMap>::key_type key,
     two_bit_color_type value)
 {
   put(pm.base(), key, value);
@@ -95,7 +95,7 @@
 get(two_bit_color_map<
       parallel::distributed_property_map<
         ProcessGroup, GlobalMap, two_bit_color_map<StorageMap> > > const& pm,
- typename two_bit_color_map<GlobalMap>::key_type key)
+ typename property_traits<GlobalMap>::key_type key)
 {
   return get(pm.base(), key);
 }
@@ -105,7 +105,7 @@
 put(two_bit_color_map<
       parallel::distributed_property_map<
         ProcessGroup, GlobalMap, two_bit_color_map<StorageMap> > > const& pm,
- typename two_bit_color_map<GlobalMap>::key_type key,
+ typename property_traits<GlobalMap>::key_type key,
     two_bit_color_type value)
 {
   put(pm.base(), key, value);

Modified: trunk/boost/graph/one_bit_color_map.hpp
==============================================================================
--- trunk/boost/graph/one_bit_color_map.hpp (original)
+++ trunk/boost/graph/one_bit_color_map.hpp 2010-03-08 14:43:09 EST (Mon, 08 Mar 2010)
@@ -61,7 +61,7 @@
 template<typename IndexMap>
 inline one_bit_color_type
 get(const one_bit_color_map<IndexMap>& pm,
- typename one_bit_color_map<IndexMap>::key_type key)
+ typename property_traits<IndexMap>::key_type key)
 {
   BOOST_STATIC_CONSTANT(int, bits_per_char = one_bit_color_map<IndexMap>::bits_per_char);
   typename property_traits<IndexMap>::value_type i = get(pm.index, key);
@@ -72,7 +72,7 @@
 template<typename IndexMap>
 inline void
 put(const one_bit_color_map<IndexMap>& pm,
- typename one_bit_color_map<IndexMap>::key_type key,
+ typename property_traits<IndexMap>::key_type key,
     one_bit_color_type value)
 {
   BOOST_STATIC_CONSTANT(int, bits_per_char = one_bit_color_map<IndexMap>::bits_per_char);

Modified: trunk/boost/graph/two_bit_color_map.hpp
==============================================================================
--- trunk/boost/graph/two_bit_color_map.hpp (original)
+++ trunk/boost/graph/two_bit_color_map.hpp 2010-03-08 14:43:09 EST (Mon, 08 Mar 2010)
@@ -64,7 +64,7 @@
 template<typename IndexMap>
 inline two_bit_color_type
 get(const two_bit_color_map<IndexMap>& pm,
- typename two_bit_color_map<IndexMap>::key_type key)
+ typename property_traits<IndexMap>::key_type key)
 {
   BOOST_STATIC_CONSTANT(int, elements_per_char = two_bit_color_map<IndexMap>::elements_per_char);
   typename property_traits<IndexMap>::value_type i = get(pm.index, key);
@@ -77,7 +77,7 @@
 template<typename IndexMap>
 inline void
 put(const two_bit_color_map<IndexMap>& pm,
- typename two_bit_color_map<IndexMap>::key_type key,
+ typename property_traits<IndexMap>::key_type key,
     two_bit_color_type value)
 {
   BOOST_STATIC_CONSTANT(int, elements_per_char = two_bit_color_map<IndexMap>::elements_per_char);


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