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: | 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 , 10 years ago
Component: | Documentation → string_algo |
---|---|
Owner: | changed from | to
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [80056]) Fix typo in docs; Refs #6595