[BGL] Determining the properties bundle type

Hi,
What's the best way to determine the properties bundle type?
G::vertex_bundled
vertex_bundle_type<G>::type
property_map_value

On Mon, 21 Feb 2011, Shaun Jackman wrote:
Hi,
What's the best way to determine the properties bundle type? G::vertex_bundled vertex_bundle_type<G>::type property_map_value
I'm trying to determine the type that will be returned by g[u] where g is a graph and u is a vertex_descriptor.
I would prefer the second, but you might like the third instead if you need a well-defined value for graphs without bundled properties. The vertex_bundle_t map isn't always defined for all graph types, but any graphs that are missing it can be reported as bugs. -- Jeremiah Willcock
participants (2)
-
Jeremiah Willcock
-
Shaun Jackman