Boost C++ Libraries: Ticket #6595: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html https://svn.boost.org/trac10/ticket/6595 <p> Under the heading "Predicates and Classification", amongst the sample code is the following code: </p> <hr /> <p> string str1("command.com"); </p> <blockquote> <p> cout </p> <blockquote> <p> &lt;&lt; str1 &lt;&lt; (is_executable("command.com")? "is": "is not") &lt;&lt; "an executable" &lt;&lt; endl; <em> prints "command.com is an executable" </em></p> </blockquote> </blockquote> <hr /> <p> The parameter passed to is_executable() should be str1, rather than the literal "command.com". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6595 Trac 1.4.3 anonymous Wed, 15 Aug 2012 20:10:24 GMT owner, component changed https://svn.boost.org/trac10/ticket/6595#comment:1 https://svn.boost.org/trac10/ticket/6595#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Marshall Clow</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">string_algo</span> </li> </ul> Ticket Marshall Clow Thu, 16 Aug 2012 03:55:02 GMT <link>https://svn.boost.org/trac10/ticket/6595#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6595#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80056" title="Fix typo in docs; Refs #6595">[80056]</a>) Fix typo in docs; Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6595" title="#6595: Bugs: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html (closed: fixed)">#6595</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Thu, 16 Aug 2012 05:16:45 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6595#comment:3 https://svn.boost.org/trac10/ticket/6595#comment:3 <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/80057" title="Merge doc typo corrections to release; fixes #6595; fixes #7182">[80057]</a>) Merge doc typo corrections to release; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6595" title="#6595: Bugs: Docs bug in boost_1_49_0_beta1/doc/html/string_algo/usage.html (closed: fixed)">#6595</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7182" title="#7182: Bugs: doc copy&amp;paste mistake in time_duration.is_pos_infinity() (closed: fixed)">#7182</a> </p> Ticket