Opened 12 years ago
Closed 12 years ago
#4342 closed Patches (fixed)
quick_tour/"Adding some color..." Graph constructor wrong
| Reported by: | Owned by: | Andrew Sutton | |
|---|---|---|---|
| Milestone: | Boost 1.43.0 | Component: | graph | 
| Version: | Boost 1.44.0 | Severity: | Cosmetic | 
| Keywords: | Cc: | 
Description
On the quick_tour page, under "Adding Some Color to your Graph", you show the graph constructor as
Graph G(edges + sizeof(edges) / sizeof(E), weights, num_nodes);
The constructor needs the beginning of the edges array (consistent with your earlier example):
Graph G(edges, edges + sizeof(edges) / sizeof(E), weights, num_nodes);
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [62933]) Fixed graph construction; fixes #4342