[Boost-bugs] [Boost C++ Libraries] #4342: quick_tour/"Adding some color..." Graph constructor wrong

Subject: [Boost-bugs] [Boost C++ Libraries] #4342: quick_tour/"Adding some color..." Graph constructor wrong
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-14 10:48:22


#4342: quick_tour/"Adding some color..." Graph constructor wrong
----------------------------------------+-----------------------------------
 Reporter: Jim Bell <jim@…> | Owner: asutton
     Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: graph
  Version: Boost 1.44.0 | Severity: Cosmetic
 Keywords: |
----------------------------------------+-----------------------------------
 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);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4342>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC