[Boost-bugs] [Boost C++ Libraries] #6595: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html

Subject: [Boost-bugs] [Boost C++ Libraries] #6595: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-23 04:18:10


#6595: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html
---------------------------------------------------+------------------------
 Reporter: Michael J Smith <emmenjay@…> | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: docs example |
---------------------------------------------------+------------------------
 Under the heading "Predicates and Classification", amongst the sample code
 is the following code:
 -----------------------------------------------------------
 string str1("command.com");
     cout
         << str1
         << (is_executable("command.com")? "is": "is not")
         << "an executable"
         << endl; // prints "command.com is an executable"
 -----------------------------------------------------------

 The parameter passed to is_executable() should be str1, rather than the
 literal "command.com".

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