mirror of
https://github.com/boostorg/graph.git
synced 2025-05-11 13:24:01 +00:00
Trying to clear some errors from Sun CC.
[SVN r39871]
This commit is contained in:
parent
c691ac49f7
commit
e54f2934e1
@ -10,6 +10,7 @@
|
|||||||
#define __FACE_ITERATORS_HPP__
|
#define __FACE_ITERATORS_HPP__
|
||||||
|
|
||||||
#include <boost/iterator/iterator_facade.hpp>
|
#include <boost/iterator/iterator_facade.hpp>
|
||||||
|
#include <boost/mpl/bool.hpp>
|
||||||
#include <boost/graph/graph_traits.hpp>
|
#include <boost/graph/graph_traits.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
@ -61,18 +62,16 @@ namespace boost
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
template <typename Graph, typename ValueType>
|
template <typename Graph, bool StoreEdge>
|
||||||
struct edge_storage;
|
struct edge_storage
|
||||||
|
{};
|
||||||
|
|
||||||
template <typename Graph>
|
template <typename Graph>
|
||||||
struct edge_storage <Graph, typename graph_traits<Graph>::edge_descriptor>
|
struct edge_storage <Graph, true>
|
||||||
{
|
{
|
||||||
typename graph_traits<Graph>::edge_descriptor value;
|
typename graph_traits<Graph>::edge_descriptor value;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Graph>
|
|
||||||
struct edge_storage <Graph, typename graph_traits<Graph>::vertex_descriptor>
|
|
||||||
{};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -271,7 +270,7 @@ namespace boost
|
|||||||
|
|
||||||
vertex_t m_lead;
|
vertex_t m_lead;
|
||||||
vertex_t m_follow;
|
vertex_t m_follow;
|
||||||
edge_storage<Graph, ValueType> m_edge;
|
edge_storage<Graph, boost::is_same<ValueType, edge_t>::value > m_edge;
|
||||||
FaceHandlesMap m_face_handles;
|
FaceHandlesMap m_face_handles;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user