Boost C++ Libraries: Ticket #4342: quick_tour/"Adding some color..." Graph constructor wrong https://svn.boost.org/trac10/ticket/4342 <p> On the quick_tour page, under "Adding Some Color to your Graph", you show the graph constructor as </p> <pre class="wiki"> Graph G(edges + sizeof(edges) / sizeof(E), weights, num_nodes); </pre><p> The constructor needs the beginning of the edges array (consistent with your earlier example): </p> <pre class="wiki"> Graph G(edges, edges + sizeof(edges) / sizeof(E), weights, num_nodes); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4342 Trac 1.4.3 Jeremiah Willcock Mon, 14 Jun 2010 15:37:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4342#comment:1 https://svn.boost.org/trac10/ticket/4342#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62933" title="Fixed graph construction; fixes #4342">[62933]</a>) Fixed graph construction; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4342" title="#4342: Patches: quick_tour/&#34;Adding some color...&#34; Graph constructor wrong (closed: fixed)">#4342</a> </p> Ticket