Ticket #4384: labeled_graph.hpp.diff
File labeled_graph.hpp.diff, 943 bytes (added by , 12 years ago) |
---|
-
labeled_graph.hpp
old new get(Prop p, LABELED_GRAPH& g) 694 694 template <LABELED_GRAPH_PARAMS, typename Prop> 695 695 inline typename property_map<LABELED_GRAPH, Prop>::const_type 696 696 get(Prop p, LABELED_GRAPH const& g) 697 { return get(p, g. impl()); }697 { return get(p, g.graph()); } 698 698 699 699 template <LABELED_GRAPH_PARAMS, typename Prop, typename Key> 700 700 inline typename property_traits< 701 701 typename property_map<typename LABELED_GRAPH::graph_type, Prop>::const_type 702 702 >::value_type 703 703 get(Prop p, LABELED_GRAPH const& g, const Key& k) 704 { return get(p, g. impl(), k); }704 { return get(p, g.graph(), k); } 705 705 706 706 template <LABELED_GRAPH_PARAMS, typename Prop, typename Key, typename Value> 707 707 inline void 708 708 put(Prop p, LABELED_GRAPH& g, Key const& k, Value const& v) 709 { put(p, g. impl(), k, v); }709 { put(p, g.graph(), k, v); } 710 710 //@} 711 711 712 712 /** @name Mutable Graph */