[BGL] Determining if a graph has a particular internal property?

15 Mar
2004
15 Mar
'04
midnight
Is this possible? A well-defined return type from get(p, g) when p is not an internal property of graph g would suffice. Doug

15 Mar
15 Mar
4:41 p.m.
Hi Doug, There's the vertex_property<Graph>::type and edge_property<Graph>::type meta-functions which return the property list. You can then use the property_value meta-function on the result, and if that returns error_property_not_found, you know it is not there. The online docs for PropertyGraph and MutablePropertyGraph look a bit out of date, and need to be sync'd with the graph_concepts.hpp. Cheers, Jeremy On Mar 14, 2004, at 7:00 PM, Douglas Gregor wrote:
7734
Age (days ago)
7734
Last active (days ago)
2 comments
3 participants
participants (3)
-
Douglas Gregor
-
Douglas Paul Gregor
-
Jeremy Siek