diff --git a/include/boost/graph/properties.hpp b/include/boost/graph/properties.hpp index 72ba5fc8..10f10db9 100644 --- a/include/boost/graph/properties.hpp +++ b/include/boost/graph/properties.hpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include namespace boost { @@ -334,8 +334,6 @@ namespace boost { #if defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) # define BOOST_GRAPH_NO_BUNDLED_PROPERTIES -#elif BOOST_WORKAROUND(__EDG_VERSION__, <= 238) -# define BOOST_GRAPH_NO_BUNDLED_PROPERTIES #endif #ifndef BOOST_GRAPH_NO_BUNDLED_PROPERTIES @@ -357,18 +355,8 @@ namespace boost { }; namespace detail { - template - type_traits::yes_type is_vertex_bundle_helper(VertexBundle*); - - template - type_traits::no_type is_vertex_bundle_helper(EdgeBundle*); - template - struct is_vertex_bundle - { - BOOST_STATIC_CONSTANT(bool, value = ((sizeof(is_vertex_bundle_helper((Bundle*)0)) - == sizeof(type_traits::yes_type)))); - }; + struct is_vertex_bundle : is_convertible {}; } template