Boost logo

Boost Users :

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
> 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!


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at