$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-06-14 08:52:08
On Jun 13, 2005, at 4:33 AM, martin f krafft wrote:
> The first bit of sample code in the section "Adding Some Color to
> your Graph" on http://www.boost.org/libs/graph/doc/quick_tour.html
> does not compile.
>
> Graph G(num_nodes, edges,
> edges + sizeof(edges) / sizeof(E), weights);
That should be:
Graph G(edges + sizeof(edges) / sizeof(E), weights, num_nodes);
Fixed in CVS. Thanks for reporting this!
Doug