Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57907 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-11-24 16:00:16


Author: jewillco
Date: 2009-11-24 16:00:16 EST (Tue, 24 Nov 2009)
New Revision: 57907
URL: http://svn.boost.org/trac/boost/changeset/57907

Log:
Removed code left in by mistake
Text files modified:
   trunk/boost/graph/properties.hpp | 17 -----------------
   1 files changed, 0 insertions(+), 17 deletions(-)

Modified: trunk/boost/graph/properties.hpp
==============================================================================
--- trunk/boost/graph/properties.hpp (original)
+++ trunk/boost/graph/properties.hpp 2009-11-24 16:00:16 EST (Tue, 24 Nov 2009)
@@ -187,23 +187,6 @@
       typedef typename Graph::graph_tag type;
     };
 
- // This code is from boost/thread/locks.hpp (with the member name changed
- // and changed to look for a member type) and should be factored out into a
- // separate library (type_traits?).
- template<typename T>
- struct has_member_graph_tag {
- typedef char true_type;
- struct false_type {
- true_type dummy[2];
- };
-
- template<typename U>
- static true_type has_member(U*,typename U::graph_tag* = 0);
- static false_type has_member(void*, ...);
-
- BOOST_STATIC_CONSTANT(bool, value=sizeof(has_member_graph_tag<T>::has_member((T*)NULL))==sizeof(true_type));
- };
-
     template <class Graph, class PropertyTag>
     struct edge_property_map {
       typedef typename edge_property_type<Graph>::type Property;


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