mirror of
https://github.com/boostorg/graph.git
synced 2026-02-11 11:52:12 +00:00
added vertex_property and edge_property
[SVN r10182]
This commit is contained in:
@@ -244,6 +244,17 @@ namespace boost {
|
||||
Property>::type type;
|
||||
};
|
||||
|
||||
template <class Graph>
|
||||
class vertex_property {
|
||||
public:
|
||||
typedef typename Graph::vertex_property_type type;
|
||||
};
|
||||
template <class Graph>
|
||||
class edge_property {
|
||||
public:
|
||||
typedef typename Graph::edge_property_type type;
|
||||
};
|
||||
|
||||
template <typename Graph>
|
||||
class degree_property_map
|
||||
: public put_get_helper<typename graph_traits<Graph>::degree_size_type,
|
||||
|
||||
Reference in New Issue
Block a user