[Boost-docs] Typo in BGL Subgraph

Subject: [Boost-docs] Typo in BGL Subgraph
From: Kawashima Eisuke (e.kawaschima_at_[hidden])
Date: 2016-01-15 02:14:03


Dear all,

The last part of Boost Graph Library: Subgraph
<http://www.boost.org/doc/libs/release/libs/graph/doc/subgraph.html> (since
Boost 1.40)

> struct my_vertex { ... };
> typedef property<vertex_index_t, std::size_t, vertex_prop> vertex_prop;

struct my_edge { ... };
> typedef property<edge_index_t, std::size_t, vertex_prop> edge_prop;

should be, I believe,

> struct my_vertex { ... };
> typedef property<vertex_index_t, std::size_t, my_vertex> vertex_prop;

struct my_edge { ... };
> typedef property<edge_index_t, std::size_t, my_edge> edge_prop;

Additionally I want you to note how to modify GraphProperties of
boost::subgraph
(or it is not implemented).

Regards,

--
Eisuke Kawashima
email: e.kawaschima_at_[hidden]



This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC