139
141
/** Add the vertex and edge propeties of the path [first, last). */
140
142
template<typename Graph, typename It, typename VP>
143
VP addProp(const Graph& g, It first, It last, const VP*)
144
145
typedef typename graph_traits<Graph>::vertex_descriptor
150
149
for (It it = first + 1; it != last; ++it) {
151
150
vertex_descriptor u = *(it - 1);
152
151
vertex_descriptor v = *it;