From fbcb03de6aabc2ebcf858a7789d2a183aacd8fe8 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Thu, 5 Oct 2000 17:47:49 +0000 Subject: [PATCH] added documentation for get_property(), thought about changing to get(), but that would be difficult [SVN r7911] --- docs/adjacency_list.html | 23 +++++++++++++++++-- include/boost/graph/detail/adjacency_list.hpp | 2 -- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/adjacency_list.html b/docs/adjacency_list.html index 07180266..bf6f751f 100644 --- a/docs/adjacency_list.html +++ b/docs/adjacency_list.html @@ -891,12 +891,31 @@ This sets the property value for x to typename property_traits<property_map<adjacency_list, Property>::type>::value_type
+
+ +
+  template <class GraphProperties, class GraphProperty>
+  typename property_value<GraphProperties, GraphProperty>::type&
+  get_property(adjacency_list& g, GraphProperty);
+
+Return the property specified by GraphProperty that is +attached to the graph object g. + +
+ +
+  template <class GraphProperties, class GraphProperty>
+  const typename property_value<GraphProperties, GraphProperty>::type&
+  get_property(const adjacency_list& g, GraphProperty);
+
+Return the property specified by GraphProperty that is +attached to the graph object g. + +
- -

See Also

adjacency_list_traits, diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index b75964f6..a1cbd58b 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -1417,7 +1417,6 @@ namespace boost { inline typename boost::property_map::type get(Property p, adj_list_helper& g) { - // typedef typename Property::kind Kind; typedef typename property_kind::type Kind; return detail::get_dispatch(g, p, Kind()); } @@ -1426,7 +1425,6 @@ namespace boost { typename boost::property_map::const_type get(Property p, const adj_list_helper& g) { - // typedef typename Property::kind Kind; typedef typename property_kind::type Kind; return detail::get_dispatch(g, p, Kind()); }