2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-12 12:12:11 +00:00

vc++ workarounds

[SVN r9960]
This commit is contained in:
Jeremy Siek
2001-04-24 02:08:45 +00:00
parent 177fcbdf4a
commit f234453512
2 changed files with 7 additions and 7 deletions

View File

@@ -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<graph_type&>(g_);
typedef std::vector<typename Config::EdgeIter> Garbage;
typedef typename Config::EdgeIter EdgeIter;
typedef std::vector<EdgeIter> Garbage;
Garbage garbage;
// First remove the edges from the targets' in-edge lists and

View File

@@ -27,10 +27,7 @@ namespace boost {
struct error_property_not_found { };
template <int TagMatched>
struct property_value_dispatch { };
template <>
struct property_value_dispatch<1> {
struct property_value_dispatch {
template <class Property, class T, class Tag>
static T& get_value(Property& p, T*, Tag) {
return p.m_value;
@@ -64,7 +61,9 @@ namespace boost {
};
template <>
struct property_value_end<no_property> {
template <class T> class result { typedef detail::error_property_not_found type; };
template <class T> class result {
typedef detail::error_property_not_found type;
};
// Stop the recursion and return error
template <class T, class Tag>