Template Function property_map_gen(TGraphType&, std::function<void(TMapType&map, typename TGraphType::decoratee_type&g)>)

Function Documentation

template<typename TMapType, typename TGraphType, typename std::enable_if<detail::is_decorator<TGraphType>::value, int>::type = 0>
static inline TMapType property_map_gen(TGraphType &g, std::function<void(TMapType &map, typename TGraphType::decoratee_type &g)> cb)

Generate a property map of arbitrary type over a decorated BGL graph.