Opened 11 years ago

Closed 10 years ago

#6595 closed Bugs (fixed)

Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html

Reported by: Michael J Smith <emmenjay@…> Owned by: Marshall Clow
Milestone: To Be Determined Component: string_algo
Version: Boost 1.49.0 Severity: Problem
Keywords: docs example Cc:

Description

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".

Change History (3)

comment:1 by anonymous, 10 years ago

Component: Documentationstring_algo
Owner: changed from Matias Capeletto to Marshall Clow

comment:2 by Marshall Clow, 10 years ago

(In [80056]) Fix typo in docs; Refs #6595

comment:3 by Marshall Clow, 10 years ago

Resolution: fixed
Status: newclosed

(In [80057]) Merge doc typo corrections to release; fixes #6595; fixes #7182

Note: See TracTickets for help on using tickets.