From f234453512926eb4cf875527ccdd5da0f752384a Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 24 Apr 2001 02:08:45 +0000 Subject: [PATCH] vc++ workarounds [SVN r9960] --- include/boost/graph/detail/adjacency_list.hpp | 5 +++-- include/boost/pending/detail/property.hpp | 9 ++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index 52eb4a86..73163cd7 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -955,8 +955,9 @@ namespace boost { typedef typename Config::graph_type graph_type; typedef typename Config::OutEdgeList::value_type::property_type PropT; graph_type& g = static_cast(g_); - - typedef std::vector Garbage; + + typedef typename Config::EdgeIter EdgeIter; + typedef std::vector Garbage; Garbage garbage; // First remove the edges from the targets' in-edge lists and diff --git a/include/boost/pending/detail/property.hpp b/include/boost/pending/detail/property.hpp index ababd529..14fc510a 100644 --- a/include/boost/pending/detail/property.hpp +++ b/include/boost/pending/detail/property.hpp @@ -27,10 +27,7 @@ namespace boost { struct error_property_not_found { }; template - struct property_value_dispatch { }; - - template <> - struct property_value_dispatch<1> { + struct property_value_dispatch { template static T& get_value(Property& p, T*, Tag) { return p.m_value; @@ -64,7 +61,9 @@ namespace boost { }; template <> struct property_value_end { - template class result { typedef detail::error_property_not_found type; }; + template class result { + typedef detail::error_property_not_found type; + }; // Stop the recursion and return error template