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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user