mirror of
https://github.com/boostorg/graph.git
synced 2026-07-21 13:23:42 +00:00
get_property fix for subgraph
[SVN r30220]
This commit is contained in:
+4
-2
@@ -112,8 +112,10 @@ September 27, 2000.
|
||||
<tt>breadth_first_search</tt> and now supports graphs with
|
||||
multiple components.</li>
|
||||
|
||||
<li><a href="subgraph.html"><tt>subgraph</tt></a> now
|
||||
supports <a href="bundles.html">bundled properties</a>.</li>
|
||||
<li><a href="subgraph.html"><tt>subgraph</tt></a> now supports
|
||||
<a href="bundles.html">bundled
|
||||
properties</a>. <code>get_property</code> now refers to the
|
||||
subgraph property, not the root graph's property.</li></li>
|
||||
|
||||
<li><a href="filtered_graph.html"><tt>filtered_graph</tt></a> now
|
||||
supports <a href="bundles.html">bundled properties</a>.</li>
|
||||
|
||||
+2
-2
@@ -633,7 +633,7 @@ typename property_value<GraphProperties, GraphPropertyTag>::type&
|
||||
get_property(subgraph& g, GraphPropertyTag);
|
||||
</pre>
|
||||
Return the property specified by <tt>GraphPropertyTag</tt> that is attached
|
||||
to the graph object <tt>g</tt>. The <tt>property_value</tt> traits class
|
||||
to the subgraph object <tt>g</tt>. The <tt>property_value</tt> traits class
|
||||
is defined in <tt>boost/pending/property.hpp</tt>.
|
||||
|
||||
|
||||
@@ -644,7 +644,7 @@ const typename property_value<GraphProperties, GraphPropertyTag>::type&
|
||||
get_property(const subgraph& g, GraphPropertyTag);
|
||||
</pre>
|
||||
Return the property specified by <tt>GraphPropertyTag</tt> that is
|
||||
attached to the graph object <tt>g</tt>. The <tt>property_value</tt>
|
||||
attached to the subgraph object <tt>g</tt>. The <tt>property_value</tt>
|
||||
traits class is defined in <tt>boost/pending/property.hpp</tt>.
|
||||
|
||||
<hr>
|
||||
|
||||
@@ -847,14 +847,14 @@ namespace boost {
|
||||
inline
|
||||
typename graph_property<G, Tag>::type&
|
||||
get_property(subgraph<G>& g, Tag tag) {
|
||||
return get_property(g.root().m_graph, tag);
|
||||
return get_property(g.m_graph, tag);
|
||||
}
|
||||
|
||||
template <typename G, typename Tag>
|
||||
inline
|
||||
const typename graph_property<G, Tag>::type&
|
||||
get_property(const subgraph<G>& g, Tag tag) {
|
||||
return get_property(g.root().m_graph, tag);
|
||||
return get_property(g.m_graph, tag);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user