Ticket #10709: op_brackets.patch
File op_brackets.patch, 970 bytes (added by , 8 years ago) |
---|
-
subgraph.hpp.
old new 277 277 operator[](Descriptor x) 278 278 { return is_root() ? m_graph[x] : root().m_graph[local_to_global(x)]; } 279 279 280 typename graph::detail::bundled_result<Graph, graph_bundle_t>::type& 281 operator[](graph_bundle_t x) 282 { return m_graph[x]; } 283 280 284 template <typename Descriptor> 281 285 typename graph::detail::bundled_result<Graph, Descriptor>::type const& 282 286 operator[](Descriptor x) const 283 287 { return is_root() ? m_graph[x] : root().m_graph[local_to_global(x)]; } 284 288 289 typename graph::detail::bundled_result<Graph, graph_bundle_t>::type const& 290 operator[](graph_bundle_t x) const 291 { return m_graph[x]; } 292 285 293 // Local property access returns the local property of the given descripor. 286 294 template <typename Descriptor> 287 295 typename graph::detail::bundled_result<Graph, Descriptor>::type&