[Boost-bugs] [Boost C++ Libraries] #2812: Tutorial example errors

Subject: [Boost-bugs] [Boost C++ Libraries] #2812: Tutorial example errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-28 09:45:42


#2812: Tutorial example errors
------------------------------------------------+---------------------------
 Reporter: Edward Diener <eld_at_[hidden]> | Owner: danielw
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: parameter
  Version: Boost 1.38.0 | Severity: Cosmetic
 Keywords: parameter doc tutorial example |
------------------------------------------------+---------------------------
 In the tutorial for Boost parameter there are a number of documentation
 errors in section 2.1.2 when initially giving the depth_first_search
 example.

 1) The example says "depth_first_search algorithm is a generic function
 accepting from one to four arguments by reference" but clearly the generic
 function takes 5 arguments with some by value.

 2) The third argument listed in the prototype is given as "typename
 graph_traits<g>::vertex_descriptor root_vertex" but probably should be
 "typename graph_traits<graph>::vertex_descriptor root_vertex" as there is
 no 'g' argument in the prototype.

 These are cosmetic documentation changes which should be made to allow
 someone who wants to understand the tutorial correctly to do so.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2812>
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:49:59 UTC